mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-11-01 22:03:29 +01:00
Use app deep copy in places to avoid bugs
This commit is contained in:
@@ -38,7 +38,7 @@ class _AppPageState extends State<AppPage> {
|
||||
bool areDownloadsRunning = appsProvider.areDownloadsRunning();
|
||||
|
||||
var sourceProvider = SourceProvider();
|
||||
AppInMemory? app = appsProvider.apps[widget.appId];
|
||||
AppInMemory? app = appsProvider.apps[widget.appId]?.deepCopy();
|
||||
var source = app != null ? sourceProvider.getSource(app.app.url) : null;
|
||||
if (!areDownloadsRunning && prevApp == null && app != null) {
|
||||
prevApp = app;
|
||||
|
||||
Reference in New Issue
Block a user