fix: Dialog using wrong Navigator
This commit is contained in:
parent
57f81a3aa3
commit
1a167bebe7
30 changed files with 240 additions and 193 deletions
|
|
@ -233,7 +233,7 @@ class _ImageBubbleState extends State<ImageBubble> {
|
|||
child: InkWell(
|
||||
onTap: () {
|
||||
if (!widget.tapToView) return;
|
||||
Navigator.of(context).push(
|
||||
Navigator.of(context, rootNavigator: false).push(
|
||||
MaterialPageRoute(
|
||||
builder: (_) => ImageView(widget.event, onLoaded: () {
|
||||
// If the original file didn't load yet, we want to do that now.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue