improved light mode send/receive button readability
This commit is contained in:
parent
abeb2058ee
commit
75ecb66576
@ -1000,7 +1000,9 @@ class _FileManagerPageState extends State<FileManagerPage>
|
|||||||
textAlign: TextAlign.right,
|
textAlign: TextAlign.right,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: selectedItems.length == 0
|
color: selectedItems.length == 0
|
||||||
? MyTheme.darkGray
|
? Theme.of(context).brightness == Brightness.light
|
||||||
|
? MyTheme.grayBg
|
||||||
|
: MyTheme.darkGray
|
||||||
: Colors.white,
|
: Colors.white,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@ -1009,7 +1011,9 @@ class _FileManagerPageState extends State<FileManagerPage>
|
|||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
"assets/arrow.svg",
|
"assets/arrow.svg",
|
||||||
color: selectedItems.length == 0
|
color: selectedItems.length == 0
|
||||||
? MyTheme.darkGray
|
? Theme.of(context).brightness == Brightness.light
|
||||||
|
? MyTheme.grayBg
|
||||||
|
: MyTheme.darkGray
|
||||||
: Colors.white,
|
: Colors.white,
|
||||||
alignment: Alignment.bottomRight,
|
alignment: Alignment.bottomRight,
|
||||||
),
|
),
|
||||||
@ -1018,14 +1022,18 @@ class _FileManagerPageState extends State<FileManagerPage>
|
|||||||
? SvgPicture.asset(
|
? SvgPicture.asset(
|
||||||
"assets/arrow.svg",
|
"assets/arrow.svg",
|
||||||
color: selectedItems.length == 0
|
color: selectedItems.length == 0
|
||||||
? MyTheme.darkGray
|
? Theme.of(context).brightness == Brightness.light
|
||||||
|
? MyTheme.grayBg
|
||||||
|
: MyTheme.darkGray
|
||||||
: Colors.white,
|
: Colors.white,
|
||||||
)
|
)
|
||||||
: Text(
|
: Text(
|
||||||
translate('Receive'),
|
translate('Receive'),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: selectedItems.length == 0
|
color: selectedItems.length == 0
|
||||||
? MyTheme.darkGray
|
? Theme.of(context).brightness == Brightness.light
|
||||||
|
? MyTheme.grayBg
|
||||||
|
: MyTheme.darkGray
|
||||||
: Colors.white,
|
: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user