diff --git a/lib/helpers/preferences_helper.dart b/lib/helpers/preferences_helper.dart index 1ab638c..5398248 100644 --- a/lib/helpers/preferences_helper.dart +++ b/lib/helpers/preferences_helper.dart @@ -46,7 +46,7 @@ class PreferencesHelper { if (token != null) await setString(PreferencesKeyList.LOGIN_TOKEN, token); else - await _sharedPreferences.remove(token); + await removeKey(PreferencesKeyList.LOGIN_TOKEN); } /// Get current [LoginTokens]. Returns null if none or in case of failure