update chatty

This commit is contained in:
Salvatore Giordano
2021-05-20 14:40:03 +02:00
parent 5a8f84a4c2
commit 1ec08cef83
5 changed files with 24 additions and 30 deletions
@@ -20,10 +20,8 @@ class SignInCubit extends Cubit<SignInState> {
emit(SignInState.existing_user);
}
} catch (ex) {
final result = await _loginUseCase.signIn();
if (result != null) {
emit(SignInState.none);
}
_loginUseCase.signIn();
emit(SignInState.none);
}
}
}