opt: pgc timeline

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-13 21:08:22 +08:00
parent 68df173558
commit 6ac482ed5e
4 changed files with 43 additions and 7 deletions

View File

@@ -468,6 +468,9 @@ class GStorage {
static String get webdavDirectory =>
GStorage.setting.get(SettingBoxKey.webdavDirectory, defaultValue: '/');
static bool get showPgcTimeline =>
GStorage.setting.get(SettingBoxKey.showPgcTimeline, defaultValue: true);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -755,6 +758,7 @@ class SettingBoxKey {
fastForBackwardDuration = 'fastForBackwardDuration',
recordSearchHistory = 'recordSearchHistory',
navSearchStreamDebounce = 'navSearchStreamDebounce',
showPgcTimeline = 'showPgcTimeline',
// WebDAV
webdavUri = 'webdavUri',