Only remove credentials
This commit is contained in:
parent
f7f4b779c8
commit
936607a4de
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue