Merge pull request #2455 from ImranR98/dev

Fix "Bad state" bug on mark as updated/installed (#2453)
This commit is contained in:
Imran
2025-08-06 18:39:36 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -1084,6 +1084,7 @@ class AppsProvider with ChangeNotifier {
var trackOnly = apps[id]!.app.additionalSettings['trackOnly'] == true;
var refreshBeforeDownload =
apps[id]!.app.additionalSettings['refreshBeforeDownload'] == true ||
apps[id]!.app.apkUrls.isNotEmpty &&
apps[id]!.app.apkUrls.first.value == 'placeholder';
if (refreshBeforeDownload) {
await checkUpdate(apps[id]!.app.id);

View File

@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.2.2+2318
version: 1.2.3+2319
environment:
sdk: ^3.8.1