fix: ImageViewer again

This commit is contained in:
Christian Pauly 2021-06-06 17:56:01 +02:00
commit 2369da14b3
2 changed files with 8 additions and 2 deletions

View file

@ -240,6 +240,7 @@ class _ImageBubbleState extends State<ImageBubble> {
if (!widget.tapToView) return;
showDialog(
context: Matrix.of(context).navigatorContext,
useRootNavigator: false,
builder: (_) => ImageViewer(widget.event, onLoaded: () {
// If the original file didn't load yet, we want to do that now.
// This is so that the original file displays after going on the image viewer,