mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 16:56:46 +01: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,
|
||||
);
|
||||
}
|
||||
context.pop();
|
||||
buildContext.pop();
|
||||
},
|
||||
);
|
||||
return const ShareDialog();
|
||||
|
|
|
@ -68,7 +68,7 @@ class ImageViewerStateNotifier extends StateNotifier<ImageViewerPageState> {
|
|||
gravity: ToastGravity.BOTTOM,
|
||||
);
|
||||
}
|
||||
context.pop();
|
||||
buildContext.pop();
|
||||
},
|
||||
);
|
||||
return const ShareDialog();
|
||||
|
|
|
@ -27,7 +27,7 @@ void handleShareAssets(
|
|||
gravity: ToastGravity.BOTTOM,
|
||||
);
|
||||
}
|
||||
context.pop();
|
||||
buildContext.pop();
|
||||
},
|
||||
);
|
||||
return const ShareDialog();
|
||||
|
|
Loading…
Reference in a new issue