1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Try with RN Image instead of fast-image

This commit is contained in:
Zhiyuan Zheng
2021-03-18 23:54:40 +01:00
parent f9f9b783e3
commit 5243f71c8c
2 changed files with 14 additions and 8 deletions

View File

@ -86,9 +86,9 @@ const HeaderComponent = React.memo(
analytics('imageviewer_more_share_press')
switch (Platform.OS) {
case 'ios':
return Share.share({ url: imageUrls[currentIndex].url })
Share.share({ url: imageUrls[currentIndex].url })
case 'android':
return Share.share({ message: imageUrls[currentIndex].url })
Share.share({ message: imageUrls[currentIndex].url })
}
break
}