mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-29 04:23:29 +01:00
Add auto-remove option (#656) + on-foreground bugfix
This commit is contained in:
@@ -273,4 +273,13 @@ class SettingsProvider with ChangeNotifier {
|
||||
context.deleteSaveLocale();
|
||||
}
|
||||
}
|
||||
|
||||
bool get removeOnExternalUninstall {
|
||||
return prefs?.getBool('removeOnExternalUninstall') ?? false;
|
||||
}
|
||||
|
||||
set removeOnExternalUninstall(bool show) {
|
||||
prefs?.setBool('removeOnExternalUninstall', show);
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user