Skip to content

Commit 8c64f1b

Browse files
author
维术
committed
[Exposed-UI]: fix update downrage error.
1 parent 3e78c34 commit 8c64f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VirtualApp/app/src/main/java/io/virtualapp/update/VAVersionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void onResponses(AVersionService service, String response) {
4141
String updateMessage = versionInfo.getString("updateMessage");
4242

4343
int currentVersion = getCurrentVersionCode(this);
44-
if (currentVersion != versionCode) {
44+
if (currentVersion < versionCode) {
4545
showVersionDialog(url, "VAExposed 更新啦: ", updateMessage);
4646
}
4747
} catch (JSONException e) {

0 commit comments

Comments
 (0)