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

@@ -226,9 +226,9 @@ class _ObtainiumState extends State<Obtainium> {
if (!supportedLocales
.map((e) => e.key.languageCode)
.contains(context.locale.languageCode) ||
settingsProvider.forcedLocale == null &&
(settingsProvider.forcedLocale == null &&
context.deviceLocale.languageCode !=
context.locale.languageCode) {
context.locale.languageCode)) {
settingsProvider.resetLocaleSafe(context);
}
// Register the background update task according to the user's setting