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() {
currentLoginCredentials = null;
preferences.edit().remove("chatID")
.remove("pass")
.remove("logged_in")
.apply();
SecurePreferences.removeValue("jid");
SecurePreferences.removeValue("pass");
SecurePreferences.removeValue("logged_in");
}
private static void initTrueTime() {