mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(mobile): use proper context for popping out from share (#5138)
* fix(mobile): use proper context for popping out from share * mobile: use proper context for popping --------- Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
6d310d6297
commit
fce8d48de6
3 changed files with 3 additions and 3 deletions
|
|
@ -188,7 +188,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
|
||||||
gravity: ToastGravity.BOTTOM,
|
gravity: ToastGravity.BOTTOM,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
context.pop();
|
buildContext.pop();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
return const ShareDialog();
|
return const ShareDialog();
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ class ImageViewerStateNotifier extends StateNotifier<ImageViewerPageState> {
|
||||||
gravity: ToastGravity.BOTTOM,
|
gravity: ToastGravity.BOTTOM,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
context.pop();
|
buildContext.pop();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
return const ShareDialog();
|
return const ShareDialog();
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ void handleShareAssets(
|
||||||
gravity: ToastGravity.BOTTOM,
|
gravity: ToastGravity.BOTTOM,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
context.pop();
|
buildContext.pop();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
return const ShareDialog();
|
return const ShareDialog();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue