fix
This commit is contained in:
@@ -8,7 +8,11 @@ class PhoneAuthBloc extends Bloc<PhoneAuthEvent, PhoneAuthState> {
|
||||
|
||||
PhoneAuthBloc(this._loginUseCase) : super(PhoneAuthState.initial()) {
|
||||
on<PhoneChanged>((event, emit) {
|
||||
emit(state.copyWith(phone: event.phone));
|
||||
emit(state.copyWith(
|
||||
phone: event.phone,
|
||||
isSuccess: false,
|
||||
error: null,
|
||||
));
|
||||
});
|
||||
|
||||
on<IsAdultChanged>((event, emit) {
|
||||
|
||||
Reference in New Issue
Block a user