mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some mobile ui bugs (#4823)
* fix: select option editor mobile * chore: field type icon
This commit is contained in:
parent
b05897d3ab
commit
3b0d82287d
@ -42,12 +42,13 @@ class OptionTextField extends StatelessWidget {
|
||||
width: 38,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
color: type.mobileIconBackgroundColor,
|
||||
color: Theme.of(context).brightness == Brightness.light
|
||||
? type.mobileIconBackgroundColor
|
||||
: type.mobileIconBackgroundColorDark,
|
||||
),
|
||||
child: Center(
|
||||
child: FlowySvg(
|
||||
type.svgData,
|
||||
blendMode: null,
|
||||
size: const Size.square(22),
|
||||
),
|
||||
),
|
||||
|
@ -84,12 +84,11 @@ class _MobileSelectOptionEditorState extends State<MobileSelectOptionEditor> {
|
||||
const height = 44.0;
|
||||
return Stack(
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: showMoreOptions
|
||||
? AppBarBackButton(onTap: _popOrBack)
|
||||
: AppBarCloseButton(onTap: _popOrBack),
|
||||
),
|
||||
if (showMoreOptions)
|
||||
Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: AppBarBackButton(onTap: _popOrBack),
|
||||
),
|
||||
SizedBox(
|
||||
height: 44.0,
|
||||
child: Align(
|
||||
|
Loading…
Reference in New Issue
Block a user