From 895d339d86cd154679a870ee317a60c1f382ad5f Mon Sep 17 00:00:00 2001 From: 21pages Date: Sat, 17 Dec 2022 12:27:31 +0800 Subject: [PATCH] fix theme sync Signed-off-by: 21pages --- flutter/lib/common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } }