From b5bd62848818f99b65e65836bd1f9c5742bf2853 Mon Sep 17 00:00:00 2001 From: dignow Date: Sat, 1 Jul 2023 15:06:56 +0800 Subject: [PATCH] apply current theme mode Signed-off-by: dignow --- flutter/lib/common/widgets/login.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flutter/lib/common/widgets/login.dart b/flutter/lib/common/widgets/login.dart index 0fbd506f2..5cffd9f6f 100644 --- a/flutter/lib/common/widgets/login.dart +++ b/flutter/lib/common/widgets/login.dart @@ -510,7 +510,9 @@ Future loginDialog() async { child: Icon( Icons.close, size: 22, - color: Colors.black54, + color: MyTheme.currentThemeMode() == ThemeMode.dark + ? Colors.white70 + : Colors.black54, ), onTap: onDialogCancel, hoverColor: Colors.red,