Only remove credentials

This commit is contained in:
Mylloon 2021-08-29 21:00:19 +02:00
parent f7f4b779c8
commit 936607a4de

View file

@ -110,7 +110,8 @@ class Credentials {
// clear shared pref
val sharedPref = context.getSharedPreferences(sharedPref, MODE_PRIVATE)
with(sharedPref.edit()) {
this.clear()
this.remove("username")
this.remove("password")
this.apply()
}
}