1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix(mobile): native share functionality on iPad (#11294)

* pass context to share method

* use correct context

* fix: multiselection and logs sharing

* fix: lint
This commit is contained in:
Saschl
2024-07-26 15:43:59 +02:00
committed by GitHub
parent 86a658b891
commit 62ac9bb7cd
5 changed files with 27 additions and 17 deletions

View File

@ -65,7 +65,7 @@ class ImageViewerStateNotifier extends StateNotifier<AssetViewerPageState> {
showDialog(
context: context,
builder: (BuildContext buildContext) {
_shareService.shareAsset(asset).then(
_shareService.shareAsset(asset, context).then(
(bool status) {
if (!status) {
ImmichToast.show(