mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-27 11:43:47 +01:00
Fixed "return after delete" bug (#359)
This commit is contained in:
@@ -149,7 +149,7 @@ class _AddAppPageState extends State<AddAppPage> {
|
||||
app.installedVersion = app.latestVersion;
|
||||
}
|
||||
app.categories = pickedCategories;
|
||||
await appsProvider.saveApps([app]);
|
||||
await appsProvider.saveApps([app], onlyIfExists: false);
|
||||
|
||||
return app;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user