feat: comment antifraud (#193)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-02-02 21:19:26 +08:00
committed by bggRGjQaUbCoE
parent ca16551917
commit 54e90bd986
10 changed files with 292 additions and 35 deletions

View File

@@ -361,6 +361,9 @@ class GStorage {
static bool get showDmChart =>
GStorage.setting.get(SettingBoxKey.showDmChart, defaultValue: false);
static bool get enableCommAntifraud => GStorage.setting
.get(SettingBoxKey.enableCommAntifraud, defaultValue: false);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -591,6 +594,7 @@ class SettingBoxKey {
enableLivePhoto = 'enableLivePhoto',
showSeekPreview = 'showSeekPreview',
showDmChart = 'showDmChart',
enableCommAntifraud = 'enableCommAntifraud',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',