mirror of
https://github.com/tooot-app/app
synced 2025-03-16 11:30:06 +01:00
Fix sharing action
This commit is contained in:
parent
d9228da7d7
commit
4e693d3903
@ -61,9 +61,11 @@ const HeaderComponent = React.memo(
|
||||
analytics('imageviewer_more_share_press')
|
||||
switch (Platform.OS) {
|
||||
case 'ios':
|
||||
Share.share({ url: imageUrls[currentIndex].url })
|
||||
await Share.share({ url: imageUrls[currentIndex].url })
|
||||
break
|
||||
case 'android':
|
||||
Share.share({ message: imageUrls[currentIndex].url })
|
||||
await Share.share({ message: imageUrls[currentIndex].url })
|
||||
break
|
||||
}
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user