diff --git a/lib/core/service/AuthenticatedUserObject.dart b/lib/core/service/AuthenticatedUserObject.dart index 25005b3a..600e17e1 100644 --- a/lib/core/service/AuthenticatedUserObject.dart +++ b/lib/core/service/AuthenticatedUserObject.dart @@ -23,6 +23,5 @@ class AuthenticatedUserObject { logout() async { isLogin = false; - var asd =""; } } diff --git a/lib/pages/login/login.dart b/lib/pages/login/login.dart index 458924e3..a190e52a 100644 --- a/lib/pages/login/login.dart +++ b/lib/pages/login/login.dart @@ -221,7 +221,8 @@ class _Login extends State { this.sharedPref.setObject(USER_PROFILE, result.list), this.sharedPref.setObject(LOGIN_TOKEN_ID, result.logInTokenID), this.sharedPref.setString(TOKEN, result.authenticationTokenID), - + authenticatedUserObject.isLogin = true, + appointmentRateViewModel.isLogin =true, appointmentRateViewModel .getIsLastAppointmentRatedList() .then((value) => {