Fixed crash + fixed msg cache

This commit is contained in:
gdlbo
2022-06-02 13:06:55 +03:00
parent aec302d7f2
commit abc87c0254
5 changed files with 10 additions and 17 deletions
@@ -131,6 +131,11 @@ public class VTVerifications {
return Base64.encodeToString(str.getBytes(), 1);
}
public static boolean vtverif() {
return getBoolValue("VT_Verification", true);
}
public static boolean isVerified(JSONObject jSONObject) {
if (jSONObject.optInt("verified", 0) == 1) {
return true;
@@ -1,7 +1,7 @@
package ru.vtosters.lite.utils;
import static ru.vtosters.lite.utils.Preferences.preferences;
import static ru.vtosters.lite.utils.Preferences.getLocale;
import static ru.vtosters.lite.utils.Preferences.preferences;
import android.app.Activity;
import android.app.Application;