mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
feat: experimental settings to allow patch on any app version.
This commit is contained in:
@ -325,6 +325,16 @@ class SettingsViewModel extends BaseViewModel {
|
||||
// notifyListeners();
|
||||
// }
|
||||
|
||||
bool areExperimentalPatchesEnabled() {
|
||||
return _managerAPI.areExperimentalPatchesEnabled();
|
||||
}
|
||||
|
||||
void useExperimentalPatches(bool value) {
|
||||
_managerAPI.enableExperimentalPatchesStatus(value);
|
||||
_toast.showBottom('settingsView.enabledExperimentalPatches');
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void deleteKeystore() {
|
||||
_managerAPI.deleteKeystore();
|
||||
_toast.showBottom('settingsView.deletedKeystore');
|
||||
|
Reference in New Issue
Block a user