mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 21:13:28 +01:00 
			
		
		
		
	Fix "Bad state" but on mark as updated/installed (#2453)
This commit is contained in:
		| @@ -1084,7 +1084,8 @@ class AppsProvider with ChangeNotifier { | ||||
|       var trackOnly = apps[id]!.app.additionalSettings['trackOnly'] == true; | ||||
|       var refreshBeforeDownload = | ||||
|           apps[id]!.app.additionalSettings['refreshBeforeDownload'] == true || | ||||
|           apps[id]!.app.apkUrls.first.value == 'placeholder'; | ||||
|           apps[id]!.app.apkUrls.isNotEmpty && | ||||
|               apps[id]!.app.apkUrls.first.value == 'placeholder'; | ||||
|       if (refreshBeforeDownload) { | ||||
|         await checkUpdate(apps[id]!.app.id); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user