mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-25 03:51:02 +00:00
feat: Show a dialog when an update is available (#1654)
This commit is contained in:
@@ -39,6 +39,15 @@ class SettingsViewModel extends BaseViewModel {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool showUpdateDialog() {
|
||||
return _managerAPI.showUpdateDialog();
|
||||
}
|
||||
|
||||
void setShowUpdateDialog(bool value) {
|
||||
_managerAPI.setShowUpdateDialog(value);
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool isPatchesChangeEnabled() {
|
||||
return _managerAPI.isPatchesChangeEnabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user