about summary refs log tree commit diff
path: root/src/lib/sharing.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sharing.ts')
-rw-r--r--src/lib/sharing.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sharing.ts b/src/lib/sharing.ts
index b294d7464..9f402f873 100644
--- a/src/lib/sharing.ts
+++ b/src/lib/sharing.ts
@@ -12,9 +12,9 @@ import {Share} from 'react-native'
  */
 export async function shareUrl(url: string) {
   if (isAndroid) {
-    Share.share({message: url})
+    await Share.share({message: url})
   } else if (isIOS) {
-    Share.share({url})
+    await Share.share({url})
   } else {
     // React Native Share is not supported by web. Web Share API
     // has increasing but not full support, so default to clipboard