refactor: emote

This commit is contained in:
bggRGjQaUbCoE
2024-09-13 12:33:02 +08:00
parent e29d1cc5f1
commit 6ca585abb4
16 changed files with 124 additions and 136 deletions

View File

@@ -44,7 +44,7 @@ class MainController extends GetxController {
setting.get(SettingBoxKey.defaultHomePage, defaultValue: 0) as int;
selectedIndex = defaultNavigationBars
.indexWhere((item) => item['id'] == defaultHomePage);
var userInfo = userInfoCache.get('userInfoCache');
dynamic userInfo = userInfoCache.get('userInfoCache');
userLogin.value = userInfo != null;
dynamicBadgeType = DynamicBadgeMode.values[setting.get(
SettingBoxKey.dynamicBadgeMode,