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,
|
width: 38,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
color: type.mobileIconBackgroundColor,
|
color: Theme.of(context).brightness == Brightness.light
|
||||||
|
? type.mobileIconBackgroundColor
|
||||||
|
: type.mobileIconBackgroundColorDark,
|
||||||
),
|
),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: FlowySvg(
|
child: FlowySvg(
|
||||||
type.svgData,
|
type.svgData,
|
||||||
blendMode: null,
|
|
||||||
size: const Size.square(22),
|
size: const Size.square(22),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -84,12 +84,11 @@ class _MobileSelectOptionEditorState extends State<MobileSelectOptionEditor> {
|
|||||||
const height = 44.0;
|
const height = 44.0;
|
||||||
return Stack(
|
return Stack(
|
||||||
children: [
|
children: [
|
||||||
Align(
|
if (showMoreOptions)
|
||||||
alignment: Alignment.centerLeft,
|
Align(
|
||||||
child: showMoreOptions
|
alignment: Alignment.centerLeft,
|
||||||
? AppBarBackButton(onTap: _popOrBack)
|
child: AppBarBackButton(onTap: _popOrBack),
|
||||||
: AppBarCloseButton(onTap: _popOrBack),
|
),
|
||||||
),
|
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 44.0,
|
height: 44.0,
|
||||||
child: Align(
|
child: Align(
|
||||||
|
Loading…
Reference in New Issue
Block a user