mod: custom enableSlideVolumeBrightness

Closes #439

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-14 19:47:22 +08:00
parent 21fe0ef288
commit 0ebe976b8a
4 changed files with 24 additions and 0 deletions

View File

@@ -406,6 +406,9 @@ class GStorage {
static bool get darkVideoPage =>
GStorage.setting.get(SettingBoxKey.darkVideoPage, defaultValue: false);
static bool get enableSlideVolumeBrightness => GStorage.setting
.get(SettingBoxKey.enableSlideVolumeBrightness, defaultValue: true);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -665,6 +668,7 @@ class SettingBoxKey {
enableShrinkVideoSize = 'enableShrinkVideoSize',
showDynActionBar = 'showDynActionBar',
darkVideoPage = 'darkVideoPage',
enableSlideVolumeBrightness = 'enableSlideVolumeBrightness',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',