Cancel update notifications on new install (#101)

Can't get more granular due to flutter_local_notifications/issues/1700
This commit is contained in:
Imran Remtulla
2022-11-09 20:56:40 -05:00
parent 62a05996cf
commit c47b752344

View File

@@ -335,6 +335,8 @@ class AppsProvider with ChangeNotifier {
throw errors;
}
NotificationsProvider().cancel(UpdateNotification([]).id);
return downloadedFiles.map((e) => e!.appId).toList();
}