mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-19 13:09:30 +02:00
Make downgrade detection message more clear (#2342)
This commit is contained in:
@@ -916,7 +916,7 @@ class AppsProvider with ChangeNotifier {
|
||||
if (appInfo != null &&
|
||||
newInfo.versionCode! < appInfo.versionCode! &&
|
||||
!(await canDowngradeApps())) {
|
||||
throw DowngradeError();
|
||||
throw DowngradeError(appInfo.versionCode!, newInfo.versionCode!);
|
||||
}
|
||||
if (needsBGWorkaround) {
|
||||
// The below 'await' will never return if we are in a background process
|
||||
|
Reference in New Issue
Block a user