Add auto-remove option (#656) + on-foreground bugfix

This commit is contained in:
Imran Remtulla
2023-07-14 21:09:20 -04:00
parent 3f4c6a1b76
commit 3ec33a1c77
15 changed files with 65 additions and 11 deletions

View File

@@ -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();
}
}