feat: anti goods dyn

Closes #277

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-17 18:40:18 +08:00
parent 5dd3ff32b6
commit 0b246d03a6
6 changed files with 42 additions and 2 deletions

View File

@@ -372,6 +372,9 @@ class GStorage {
static bool get isPureBlackTheme =>
GStorage.setting.get(SettingBoxKey.isPureBlackTheme, defaultValue: false);
static bool get antiGoodsDyn =>
GStorage.setting.get(SettingBoxKey.antiGoodsDyn, defaultValue: false);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -605,6 +608,7 @@ class SettingBoxKey {
enableCommAntifraud = 'enableCommAntifraud',
coinWithLike = 'coinWithLike',
isPureBlackTheme = 'isPureBlackTheme',
antiGoodsDyn = 'antiGoodsDyn',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',