diff --git a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart index 2593f36..cc82668 100644 --- a/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart +++ b/packages/chatty/lib/ui/profile_verify/profile_verify_cubit.dart @@ -27,8 +27,8 @@ class ProfileVerifyCubit extends Cubit { 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,