Skip to content

Commit

Permalink
fix: enableGradientBg未定义
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Mar 5, 2024
1 parent eb44350 commit 32cdb27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/home/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ class HomeController extends GetxController with GetTickerProviderStateMixin {
userInfo = userInfoCache.get('userInfoCache');
userLogin.value = userInfo != null;
userFace.value = userInfo != null ? userInfo.face : '';
// 进行tabs配置
setTabConfig();
hideSearchBar =
setting.get(SettingBoxKey.hideSearchBar, defaultValue: true);
if (setting.get(SettingBoxKey.enableSearchWord, defaultValue: true)) {
searchDefault();
}
enableGradientBg =
setting.get(SettingBoxKey.enableGradientBg, defaultValue: true);
// 进行tabs配置
setTabConfig();
}

void onRefresh() {
Expand Down

0 comments on commit 32cdb27

Please sign in to comment.