Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-23 19:50:11 +08:00
parent 7eaf05839a
commit 0ab07a713e
22 changed files with 443 additions and 470 deletions

View File

@@ -655,8 +655,15 @@ abstract final class Pref {
static bool get dynamicsWaterfallFlow =>
_setting.get(SettingBoxKey.dynamicsWaterfallFlow, defaultValue: true);
static bool get hideSearchBar =>
_setting.get(SettingBoxKey.hideSearchBar, defaultValue: true);
static bool get hideTopBar => _setting.get(
SettingBoxKey.hideTopBar,
defaultValue: PlatformUtils.isMobile,
);
static bool get hideBottomBar => _setting.get(
SettingBoxKey.hideBottomBar,
defaultValue: PlatformUtils.isMobile,
);
static bool get enableScrollThreshold =>
_setting.get(SettingBoxKey.enableScrollThreshold, defaultValue: false);
@@ -709,9 +716,6 @@ abstract final class Pref {
defaultValue: ReplySortType.hot.index,
)];
static bool get hideTabBar =>
_setting.get(SettingBoxKey.hideTabBar, defaultValue: true);
static DynamicBadgeMode get dynamicBadgeMode =>
DynamicBadgeMode.values[_setting.get(
SettingBoxKey.dynamicBadgeMode,