1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00

Fix invalid call

This commit is contained in:
Pierre HUBERT 2021-02-18 18:27:24 +01:00
parent 277c08048d
commit c19cbaac88

View File

@ -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