Fix reseting login creds (switch to SecurePreferences)

This commit is contained in:
ChronosX88 2019-08-25 12:33:54 +04:00
parent 4315b2ccc8
commit 20075be74c

View File

@ -106,10 +106,9 @@ public class AppHelper extends MultiDexApplication {
public static void resetLoginCredentials() { public static void resetLoginCredentials() {
currentLoginCredentials = null; currentLoginCredentials = null;
preferences.edit().remove("chatID") SecurePreferences.removeValue("jid");
.remove("pass") SecurePreferences.removeValue("pass");
.remove("logged_in") SecurePreferences.removeValue("logged_in");
.apply();
} }
private static void initTrueTime() { private static void initTrueTime() {