feat: custom show related video

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-23 17:12:43 +08:00
parent c8e89653ed
commit 812170ce38
6 changed files with 49 additions and 19 deletions

View File

@@ -113,6 +113,9 @@ class GStorage {
static bool get showViewPoints =>
setting.get(SettingBoxKey.showViewPoints, defaultValue: true);
static bool get showRelatedVideo =>
setting.get(SettingBoxKey.showRelatedVideo, defaultValue: true);
static List<double> get dynamicDetailRatio =>
setting.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]);
@@ -306,6 +309,7 @@ class SettingBoxKey {
schemeVariant = 'schemeVariant',
grpcReply = 'grpcReply',
showViewPoints = 'showViewPoints',
showRelatedVideo = 'showRelatedVideo',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',