forked from eatvio/eatvio_app
feat(post_creation): added multiple image posts creation and validation
This commit is contained in:
@@ -436,8 +436,11 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
GoRouter.of(context).pushNamed('blogPostCreateScreen');
|
||||
onTap: () async {
|
||||
await GoRouter.of(context).pushNamed('blogPostCreateScreen');
|
||||
if (mounted) {
|
||||
await profileCubit.reloadBlogPosts();
|
||||
}
|
||||
},
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
child: Ink(
|
||||
|
||||
Reference in New Issue
Block a user