Files
vtosters/app/src/main/java/ru/vtosters/hooks/AppVerHook.java
T
gdlbo 08dae9b342 Experimental proguard config with hooks refactoring (#1323)
fixed telegram stickers issue
speedup webview coloring
refactored VKUIHook
fixed duplication of eruda
added a check for duplication of adding styles for coloring vkui
2023-05-22 18:48:15 +03:00

16 lines
390 B
Java

package ru.vtosters.hooks;
import b.h.g.g.BuildInfo;
import static ru.vtosters.hooks.other.Preferences.getBoolValue;
public class AppVerHook {
public static int appBuild() {
return getBoolValue("useOldAppVer", false) ? 6561 : BuildInfo.i.e();
}
public static String appVer() {
return getBoolValue("useOldAppVer", false) ? "6.18.1" : BuildInfo.i.d();
}
}