mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user