check phone impl

This commit is contained in:
efrilm
2025-09-18 08:01:49 +07:00
parent 214dfe3262
commit 1ca1a45126
15 changed files with 275 additions and 80 deletions
@@ -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(