feat: custom for/backward duration

Closes #366
Closes #601

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-04 10:35:52 +08:00
parent 09c8a41c52
commit 08aedbf0b0
6 changed files with 46 additions and 16 deletions

View File

@@ -439,6 +439,9 @@ class GStorage {
static bool get enableDragSubtitle => GStorage.setting
.get(SettingBoxKey.enableDragSubtitle, defaultValue: false);
static int get fastForBackwardDuration => GStorage.setting
.get(SettingBoxKey.fastForBackwardDuration, defaultValue: 10);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -720,6 +723,7 @@ class SettingBoxKey {
liveQualityCellular = 'liveQualityCellular',
appFontWeight = 'appFontWeight',
enableDragSubtitle = 'enableDragSubtitle',
fastForBackwardDuration = 'fastForBackwardDuration',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',