diff --git a/assets/translations/bs.json b/assets/translations/bs.json index 7aa21c2..2749d95 100644 --- a/assets/translations/bs.json +++ b/assets/translations/bs.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Želite li ukloniti aplikaciju?", "other": "Želite li ukloniti aplikacije?" diff --git a/assets/translations/cs.json b/assets/translations/cs.json index d20bdfb..2f6ea78 100644 --- a/assets/translations/cs.json +++ b/assets/translations/cs.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Odstranit Apku?", "other": "Odstranit Apky?" diff --git a/assets/translations/de.json b/assets/translations/de.json index 4e27572..fe2a44d 100644 --- a/assets/translations/de.json +++ b/assets/translations/de.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Hintergrundaktualisierungsprüfung jetzt durchführen", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "App entfernen?", "other": "Apps entfernen?" diff --git a/assets/translations/en.json b/assets/translations/en.json index 7f9316b..3d68d57 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Remove App?", "other": "Remove Apps?" diff --git a/assets/translations/es.json b/assets/translations/es.json index 74bab70..3003f67 100644 --- a/assets/translations/es.json +++ b/assets/translations/es.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "¿Eliminar Aplicación?", "other": "¿Eliminar Aplicaciones?" diff --git a/assets/translations/fa.json b/assets/translations/fa.json index 8787732..7c24b96 100644 --- a/assets/translations/fa.json +++ b/assets/translations/fa.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "برنامه حذف شود؟", "other": "برنامه ها حذف شوند؟" diff --git a/assets/translations/fr.json b/assets/translations/fr.json index dce0ea8..2eb17dc 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Supprimer l'application ?", "other": "Supprimer les applications ?" diff --git a/assets/translations/hu.json b/assets/translations/hu.json index f942af4..b94b173 100644 --- a/assets/translations/hu.json +++ b/assets/translations/hu.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Futtassa a Háttérben frissítés ellenőrzését most", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Eltávolítja az alkalmazást?", "other": "Eltávolítja az alkalmazást?" diff --git a/assets/translations/it.json b/assets/translations/it.json index 9c97af4..10ce3f3 100644 --- a/assets/translations/it.json +++ b/assets/translations/it.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Rimuovere l'app?", "other": "Rimuovere le app?" diff --git a/assets/translations/ja.json b/assets/translations/ja.json index eaa6a40..c1edaf5 100644 --- a/assets/translations/ja.json +++ b/assets/translations/ja.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Run Background Update Check Now", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "アプリを削除しますか?", "other": "アプリを削除しますか?" diff --git a/assets/translations/pl.json b/assets/translations/pl.json index 6d09cb6..72278c3 100644 --- a/assets/translations/pl.json +++ b/assets/translations/pl.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Wymuś sprawdzenie aktualizacji w tle", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Usunąć aplikację?", "few": "Usunąć aplikacje?", diff --git a/assets/translations/pt.json b/assets/translations/pt.json index fd00a8f..31ff890 100644 --- a/assets/translations/pt.json +++ b/assets/translations/pt.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Execute a verificação de atualização em segundo plano agora", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Remover App?", "other": "Remover Apps?" diff --git a/assets/translations/ru.json b/assets/translations/ru.json index c67269b..9628df3 100644 --- a/assets/translations/ru.json +++ b/assets/translations/ru.json @@ -265,6 +265,7 @@ "runBgCheckNow": "Запустить проверку фонового обновления сейчас", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "Удалить приложение?", "other": "Удалить приложения?" diff --git a/assets/translations/zh.json b/assets/translations/zh.json index 55fcb0b..609aff5 100644 --- a/assets/translations/zh.json +++ b/assets/translations/zh.json @@ -265,6 +265,7 @@ "runBgCheckNow": "立即进行后台更新检查", "versionExtractWholePage": "Apply Version Extraction Regex to Entire Page", "installing": "Installing", + "skipUpdateNotifications": "Skip update notifications", "removeAppQuestion": { "one": "是否删除应用?", "other": "是否删除应用?" diff --git a/lib/providers/apps_provider.dart b/lib/providers/apps_provider.dart index 588ca1b..db1087b 100644 --- a/lib/providers/apps_provider.dart +++ b/lib/providers/apps_provider.dart @@ -1439,7 +1439,10 @@ Future bgUpdateCheck(int taskId, Map? params) async { if (newApp != null) { if (networkRestricted || !(await appsProvider.canInstallSilently(app!.app))) { - toNotify.add(newApp); + if (newApp.additionalSettings['skipUpdateNotifications'] != + true) { + toNotify.add(newApp); + } } } if (i == (toCheck.length - 1)) { diff --git a/lib/providers/source_provider.dart b/lib/providers/source_provider.dart index 958f8e9..0ac9b91 100644 --- a/lib/providers/source_provider.dart +++ b/lib/providers/source_provider.dart @@ -442,6 +442,10 @@ abstract class AppSource { [ GeneratedFormSwitch('exemptFromBackgroundUpdates', label: tr('exemptFromBackgroundUpdates')) + ], + [ + GeneratedFormSwitch('skipUpdateNotifications', + label: tr('skipUpdateNotifications')) ] ];