mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-24 06:59:29 +02:00
Cancel update notifications on new install (#101)
Can't get more granular due to flutter_local_notifications/issues/1700
This commit is contained in:
@@ -335,6 +335,8 @@ class AppsProvider with ChangeNotifier {
|
|||||||
throw errors;
|
throw errors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NotificationsProvider().cancel(UpdateNotification([]).id);
|
||||||
|
|
||||||
return downloadedFiles.map((e) => e!.appId).toList();
|
return downloadedFiles.map((e) => e!.appId).toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user