mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 尝试修复掉无痕模式
This commit is contained in:
@@ -17,7 +17,8 @@ class MineController extends GetxController {
|
||||
Box userInfoCache = GStrorage.userInfo;
|
||||
Box setting = GStrorage.setting;
|
||||
Rx<ThemeType> themeType = ThemeType.system.obs;
|
||||
static bool anonymity = false;
|
||||
static bool anonymity =
|
||||
GStrorage.setting.get(SettingBoxKey.anonymity, defaultValue: false);
|
||||
|
||||
@override
|
||||
onInit() {
|
||||
@@ -30,7 +31,7 @@ class MineController extends GetxController {
|
||||
|
||||
themeType.value = ThemeType.values[setting.get(SettingBoxKey.themeMode,
|
||||
defaultValue: ThemeType.system.code)];
|
||||
anonymity = setting.get(SettingBoxKey.anonymity, defaultValue: false);
|
||||
// anonymity = setting.get(SettingBoxKey.anonymity, defaultValue: false);
|
||||
}
|
||||
|
||||
onLogin() async {
|
||||
|
||||
Reference in New Issue
Block a user