Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit b3bed5c

Browse files
committed
Fix mmm.getModuleVersionCode
1 parent c75fa26 commit b3bed5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/fox2code/mmm/androidacy/AndroidacyWebAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public String getModuleVersion(String moduleId) {
129129
@JavascriptInterface
130130
public long getModuleVersionCode(String moduleId) {
131131
LocalModuleInfo localModuleInfo = ModuleManager.getINSTANCE().getModules().get(moduleId);
132-
return localModuleInfo != null ? localModuleInfo.updateVersionCode : -1L;
132+
return localModuleInfo != null ? localModuleInfo.versionCode : -1L;
133133
}
134134

135135
/**

0 commit comments

Comments
 (0)