Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MrIceman committed Nov 11, 2023
2 parents 672aa51 + 5182c38 commit a228c89
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ class LoginViewModel extends ViewModel {
authRepository.login(email, password);
// let's assume login was successful
notifyState(LoadingEvent(isLoading: false));
notify(LoadingEvent(isLoading: false));
notify(OnLoginSuccessfulEvent());
}
}
class LoginSuccessfulState extends ViewState{
static String name = "LoginSuccessful";
class LoginSuccessfulEvent extends ViewEvent{
LoginSuccessfulState() : super(name);
LoginSuccessfulState() : super();
}
class LoginUiState extends State<LoginUi> implements EventObserver {
Expand Down

0 comments on commit a228c89

Please sign in to comment.