We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560ae57 commit c7b59d4Copy full SHA for c7b59d4
1 file changed
lib/components/post/post_hero_attachment.dart
@@ -66,6 +66,7 @@ class _PostHeroAttachmentState extends State<PostHeroAttachment> {
66
if (widget.onTap != null) {
67
widget.onTap!();
68
}
69
+ // Load images into GalleryViewModel and open gallery screen
70
getIt<GalleryViewModel>().loadImages(images: widget.images, currentImageUrl: (widget.attachment as model.Image).image);
71
Navigator.of(context, rootNavigator: true).pushNamed('/gallery');
72
},
0 commit comments