Add 'skip update notification' per-app toggle (#980)

This commit is contained in:
Imran Remtulla
2023-10-12 19:33:38 -04:00
parent e613a494ff
commit d06f20690d
16 changed files with 22 additions and 1 deletions

View File

@@ -1439,7 +1439,10 @@ Future<void> bgUpdateCheck(int taskId, Map<String, dynamic>? 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)) {