added dev ver mark

This commit is contained in:
gdlbo
2022-07-11 13:18:32 +03:00
parent 851265e14a
commit 587e729bdc
2 changed files with 3 additions and 4 deletions
@@ -4,6 +4,7 @@ import static ru.vtosters.lite.utils.Globals.getApplicationName;
import static ru.vtosters.lite.utils.Globals.getContext;
import static ru.vtosters.lite.utils.Globals.getIdentifier;
import static ru.vtosters.lite.utils.Preferences.VERSIONNAME;
import static ru.vtosters.lite.utils.Preferences.isValidSignature;
import static ru.vtosters.lite.utils.Preferences.oldabout;
import android.content.Context;
@@ -67,6 +68,7 @@ public class About{
}
public static String getAppVersion() throws IOException{
return getApplicationName() + " " + VERSIONNAME + " | " + getBuildNumber();
var appver = isValidSignature() ? VERSIONNAME : "Dev";
return getApplicationName() + " " + appver + " | " + getBuildNumber();
}
}
@@ -41,9 +41,6 @@ public class Preferences{
setProxy();
reloadMessagesList();
registerActivities(application);
if(dev()){
LoadLibrary("vkopustest");
}
systemThemeChanger(null);
getInstance().autoCleaningCache();
} // VK Init