mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-26 04:21:02 +00:00
feat: ability to delete keystores.
This commit is contained in:
@@ -337,6 +337,12 @@ class SettingsViewModel extends BaseViewModel {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void deleteKeystore() {
|
||||
_managerAPI.deleteKeystore();
|
||||
_toast.showBottom('settingsView.deletedKeystore');
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Future<int> getSdkVersion() async {
|
||||
AndroidDeviceInfo info = await DeviceInfoPlugin().androidInfo;
|
||||
return info.version.sdkInt ?? -1;
|
||||
|
||||
Reference in New Issue
Block a user