diff --git a/app/src/main/java/com/wmods/wppenhacer/UpdateChecker.java b/app/src/main/java/com/wmods/wppenhacer/UpdateChecker.java index d89c817b..d4953428 100644 --- a/app/src/main/java/com/wmods/wppenhacer/UpdateChecker.java +++ b/app/src/main/java/com/wmods/wppenhacer/UpdateChecker.java @@ -36,8 +36,7 @@ public void run() { var lastindexHash = content.indexOf(".apk", indexHash); var hash = content.substring(indexHash + 17, lastindexHash); var appInfo = mActivity.getPackageManager().getPackageInfo(BuildConfig.APPLICATION_ID, 0); - XposedBridge.log("hash: " + hash + " version: " + appInfo.versionName); - if (!hash.toLowerCase().contains(appInfo.versionName.toLowerCase()) && !Objects.equals(WppCore.getPrivString("ignored_version", ""), hash)) { + if (!appInfo.versionName.toLowerCase().contains(hash.toLowerCase().trim()) && !Objects.equals(WppCore.getPrivString("ignored_version", ""), hash)) { var changelogIndex = content.indexOf("
", lastindexHash); var closeTag = content.indexOf("
", changelogIndex); var changelogText = content.substring(changelogIndex, closeTag + 6);