feat: custom main pageview

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-20 11:12:02 +08:00
parent f70845c350
commit 5c6be9cdcd
4 changed files with 42 additions and 15 deletions

View File

@@ -345,6 +345,9 @@ class GStorage {
static bool get preInitPlayer =>
GStorage.setting.get(SettingBoxKey.preInitPlayer, defaultValue: false);
static bool get mainTabBarView =>
GStorage.setting.get(SettingBoxKey.mainTabBarView, defaultValue: false);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -569,6 +572,7 @@ class SettingBoxKey {
audioNormalization = 'audioNormalization',
superResolutionType = 'superResolutionType',
preInitPlayer = 'preInitPlayer',
mainTabBarView = 'mainTabBarView',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',