fix image state when start chatting

This commit is contained in:
Diego Velásquez López
2021-03-28 17:06:05 -05:00
committed by Neevash Ramdial (Nash)
parent a84f880e71
commit b830f35416
@@ -27,8 +27,8 @@ class ProfileVerifyCubit extends Cubit<ProfileState> {
final ProfileSignInUseCase _profileSignInUseCase;
void startChatting() async {
emit(ProfileState(null, loading: true));
final file = state.file;
emit(ProfileState(file, loading: true));
final name = nameController.text;
await _profileSignInUseCase.verify(ProfileInput(
imageFile: file,