before
This commit is contained in:
@@ -27,9 +27,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
||||
return BlocListener<UpdateUserInfoBloc, UpdateUserInfoState>(
|
||||
listener: (context, state) {
|
||||
if (state is UploadPictureSuccess) {
|
||||
setState(() {
|
||||
context.read<MyUserBloc>().state.user!.picture = state.userImage;
|
||||
});
|
||||
setState(() {});
|
||||
}
|
||||
},
|
||||
child: Scaffold(
|
||||
|
||||
Reference in New Issue
Block a user