mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Fix invalid call
This commit is contained in:
parent
277c08048d
commit
c19cbaac88
@ -46,7 +46,7 @@ class PreferencesHelper {
|
|||||||
if (token != null)
|
if (token != null)
|
||||||
await setString(PreferencesKeyList.LOGIN_TOKEN, token);
|
await setString(PreferencesKeyList.LOGIN_TOKEN, token);
|
||||||
else
|
else
|
||||||
await _sharedPreferences.remove(token);
|
await removeKey(PreferencesKeyList.LOGIN_TOKEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get current [LoginTokens]. Returns null if none or in case of failure
|
/// Get current [LoginTokens]. Returns null if none or in case of failure
|
||||||
|
Loading…
Reference in New Issue
Block a user