mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: anti goods dyn
Closes #277 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user