diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index d8a6cd30f..15d058b87 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -230,7 +230,7 @@ class MyTheme { bind.mainSetLocalOption( key: kCommConfKeyTheme, value: mode.toShortString()); } - bind.mainChangeTheme(dark: currentThemeMode().toShortString()); + bind.mainChangeTheme(dark: mode.toShortString()); } }