fix logout

This commit is contained in:
greenart7c3
2024-04-17 16:27:06 -03:00
parent 59129127e3
commit 1b8a57cecf
@@ -172,6 +172,7 @@ object LocalPreferences {
*/
@SuppressLint("ApplySharedPref")
fun updatePrefsForLogout(npub: String) {
accountCache.remove(npub)
val userPrefs = encryptedPreferences(npub)
userPrefs.edit().clear().commit()
removeAccount(npub)