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