mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 18:46:53 +08:00
fix: update filter
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1434,7 +1434,9 @@ List<SettingsModel> get recommendSettings => [
|
||||
leading: const Icon(Icons.favorite_border_outlined),
|
||||
setKey: SettingBoxKey.exemptFilterForFollowed,
|
||||
defaultVal: true,
|
||||
onChanged: (_) => {RecommendFilter.update},
|
||||
onChanged: (value) {
|
||||
RecommendFilter.exemptFilterForFollowed = value;
|
||||
},
|
||||
),
|
||||
SettingsModel(
|
||||
settingsType: SettingsType.sw1tch,
|
||||
@@ -1443,7 +1445,9 @@ List<SettingsModel> get recommendSettings => [
|
||||
leading: const Icon(Icons.explore_outlined),
|
||||
setKey: SettingBoxKey.applyFilterToRelatedVideos,
|
||||
defaultVal: true,
|
||||
onChanged: (_) => {RecommendFilter.update},
|
||||
onChanged: (value) {
|
||||
RecommendFilter.applyFilterToRelatedVideos = value;
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user