Refactoring

pull/209/head
M66B 2 years ago
parent a3596720f1
commit 2f584a0b1c

@ -1603,9 +1603,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
continue; continue;
char revision = c[1].charAt(c[1].length() - 1); char revision = c[1].charAt(c[1].length() - 1);
if (BuildConfig.DEBUG || int v = BuildConfig.VERSION_CODE;
version > BuildConfig.VERSION_CODE || char r = BuildConfig.REVISION.charAt(0);
(version == BuildConfig.VERSION_CODE && revision > BuildConfig.REVISION.charAt(0))) { if (BuildConfig.DEBUG || version > v || (version == v && revision > r)) {
UpdateInfo info = new UpdateInfo(); UpdateInfo info = new UpdateInfo();
info.tag_name = c[1]; info.tag_name = c[1];
info.html_url = BuildConfig.BITBUCKET_DOWNLOADS_URI; info.html_url = BuildConfig.BITBUCKET_DOWNLOADS_URI;

Loading…
Cancel
Save