Save Search Preferences (#1226)

This commit is contained in:
Imran Remtulla
2023-12-31 23:41:46 -05:00
parent 282c94266e
commit 5d9645eaff
3 changed files with 23 additions and 5 deletions

View File

@@ -446,4 +446,13 @@ class SettingsProvider with ChangeNotifier {
prefs?.setBool('parallelDownloads', val);
notifyListeners();
}
List<String> get searchDeselected {
return prefs?.getStringList('searchDeselected') ?? [];
}
set searchDeselected(List<String> list) {
prefs?.setStringList('searchDeselected', list);
notifyListeners();
}
}