mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-07 18:02:48 +08:00
apply current theme mode
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
588168f638
commit
b5bd628488
@ -510,7 +510,9 @@ Future<bool?> loginDialog() async {
|
|||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.close,
|
Icons.close,
|
||||||
size: 22,
|
size: 22,
|
||||||
color: Colors.black54,
|
color: MyTheme.currentThemeMode() == ThemeMode.dark
|
||||||
|
? Colors.white70
|
||||||
|
: Colors.black54,
|
||||||
),
|
),
|
||||||
onTap: onDialogCancel,
|
onTap: onDialogCancel,
|
||||||
hoverColor: Colors.red,
|
hoverColor: Colors.red,
|
||||||
|
Loading…
Reference in New Issue
Block a user