feat: custom show dyn decorate

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-27 21:01:15 +08:00
parent 9e4187ef17
commit c5877b7c5e
7 changed files with 80 additions and 10 deletions

View File

@@ -351,6 +351,9 @@ class GStorage {
static bool get searchSuggestion =>
GStorage.setting.get(SettingBoxKey.searchSuggestion, defaultValue: true);
static bool get showDynDecorate =>
GStorage.setting.get(SettingBoxKey.showDynDecorate, defaultValue: true);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -577,6 +580,7 @@ class SettingBoxKey {
preInitPlayer = 'preInitPlayer',
mainTabBarView = 'mainTabBarView',
searchSuggestion = 'searchSuggestion',
showDynDecorate = 'showDynDecorate',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',