check phone impl
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:dartz/dartz.dart';
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:injectable/injectable.dart';
|
||||
|
||||
import '../../../common/function/app_function.dart';
|
||||
import '../../../domain/auth/auth.dart';
|
||||
|
||||
part 'check_phone_form_event.dart';
|
||||
@@ -40,7 +41,7 @@ class CheckPhoneFormBloc
|
||||
|
||||
if (phoneNumberValid) {
|
||||
failureOrCheckPhone = await _repository.checkPhone(
|
||||
phoneNumber: state.phoneNumber,
|
||||
phoneNumber: getNormalizePhone(state.phoneNumber),
|
||||
);
|
||||
emit(
|
||||
state.copyWith(
|
||||
|
||||
Reference in New Issue
Block a user