diff --git a/lib/view_models/profile_view_model.dart b/lib/view_models/profile_view_model.dart index e88b842..5e2f0f1 100644 --- a/lib/view_models/profile_view_model.dart +++ b/lib/view_models/profile_view_model.dart @@ -77,12 +77,6 @@ class ProfileViewModel with ChangeNotifier { notifyListeners(); } - Future localLogout() async { - await _authRepository.localLogout(); - _loggedOut = true; - notifyListeners(); - } - Future logout() async { _errorMessage = null; notifyListeners(); @@ -101,6 +95,7 @@ class ProfileViewModel with ChangeNotifier { notifyListeners(); _errorMessage = null; + _loggedOut = false; notifyListeners(); } }