feat: sort by amount of patches, display patches count, setting to enable universal patches (#593)

* feat: sort by amount of patches

* feat: display patches count in application card

* feat: setting to enable universal patches
This commit is contained in:
Ushie
2022-12-15 21:05:45 +03:00
committed by GitHub
parent 19f990c564
commit 5f81d65911
11 changed files with 114 additions and 29 deletions

View File

@ -38,6 +38,15 @@ class SettingsViewModel extends BaseViewModel {
notifyListeners();
}
bool areUniversalPatchesEnabled() {
return _managerAPI.areUniversalPatchesEnabled();
}
void showUniversalPatches(bool value) {
_managerAPI.enableUniversalPatchesStatus(value);
notifyListeners();
}
bool areExperimentalPatchesEnabled() {
return _managerAPI.areExperimentalPatchesEnabled();
}