remove clear Shared pref code

merge-requests/10/head
Elham Rababah 4 years ago
parent 0cde212a13
commit 5e983bd77d

@ -24,10 +24,6 @@ class AuthenticationViewModel extends BaseViewModel {
} }
} }
AuthenticationViewModel(){
sharedPref.clear();
}
login(LoginRequest loginRequest) async { login(LoginRequest loginRequest) async {
setState(ViewState.BusyLocal); setState(ViewState.BusyLocal);
await _authenticationService.login(loginRequest); await _authenticationService.login(loginRequest);

Loading…
Cancel
Save