添加异常测试功能

增加隐藏设置页

修复无法跳转到隐藏设置页面
This commit is contained in:
KoolShow
2024-02-16 23:06:18 +08:00
committed by orz12
parent 125b7050c1
commit 3109e30f9e
6 changed files with 121 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ class SettingController extends GetxController {
Box localCache = GStrorage.localCache;
RxBool userLogin = false.obs;
RxBool hiddenSettingUnlocked = false.obs;
RxBool feedBackEnable = false.obs;
RxDouble toastOpacity = (1.0).obs;
RxInt picQuality = 10.obs;
@@ -29,6 +30,7 @@ class SettingController extends GetxController {
super.onInit();
userInfo = userInfoCache.get('userInfoCache');
userLogin.value = userInfo != null;
hiddenSettingUnlocked.value = setting.get(SettingBoxKey.hiddenSettingUnlocked, defaultValue: false);
feedBackEnable.value =
setting.get(SettingBoxKey.feedBackEnable, defaultValue: false);
toastOpacity.value =