mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 13:08:24 +00:00
Merge pull request #137 from frnandu/fix/check-version
check additional for version if versionCode is the same
This commit is contained in:
+3
-1
@@ -82,7 +82,9 @@ class App extends BaseApp with DataModelMixin<App> {
|
||||
// Note: need to exclude zap.store because development versions always
|
||||
// carry a lower version code (e.g. 12) than published ones (e.g. 2012)
|
||||
comp = latestMetadata!.versionCode!.compareTo(installedVersionCode!);
|
||||
} else {
|
||||
}
|
||||
|
||||
if (comp==0) {
|
||||
comp = latestMetadata!.version!.compareTo(installedVersion!);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user