diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-03-12 16:24:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 16:24:32 +0900 |
commit | 2456ca828fc4ba05a085fa03c6f7c37b3edcd45e (patch) | |
tree | 66f4aba71042e83e3dfce03c6da4f487cc8e33da /src/lib | |
parent | 236223d02aa61d8f9011c7484c4e8827d336ecb6 (diff) | |
parent | c1c7a55fd5849c66032692533681a5c9317cb6d3 (diff) | |
download | voidsky-2456ca828fc4ba05a085fa03c6f7c37b3edcd45e.tar.zst |
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sharing.ts | 4 |
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 |