opt: expand intro panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-24 12:03:53 +08:00
parent f29e49dc4c
commit 23ba9ad8c1
3 changed files with 19 additions and 8 deletions

View File

@@ -122,8 +122,11 @@ class GStorage {
static bool get showBangumiReply =>
setting.get(SettingBoxKey.showBangumiReply, defaultValue: true);
static bool get exapndIntroPanel =>
setting.get(SettingBoxKey.exapndIntroPanel, defaultValue: false);
static bool get alwaysExapndIntroPanel =>
setting.get(SettingBoxKey.alwaysExapndIntroPanel, defaultValue: false);
static bool get exapndIntroPanelH =>
setting.get(SettingBoxKey.exapndIntroPanelH, defaultValue: false);
static List<double> get dynamicDetailRatio =>
setting.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]);
@@ -321,7 +324,8 @@ class SettingBoxKey {
showRelatedVideo = 'showRelatedVideo',
showVideoReply = 'showVideoReply',
showBangumiReply = 'showBangumiReply',
exapndIntroPanel = 'exapndIntroPanel',
alwaysExapndIntroPanel = 'alwaysExapndIntroPanel',
exapndIntroPanelH = 'exapndIntroPanelH',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',