fix starter pack sharing on ios
This commit is contained in:
@@ -317,14 +317,6 @@
|
||||
"count": 4
|
||||
}
|
||||
},
|
||||
"src/components/StarterPack/ShareDialog.tsx": {
|
||||
"typescript/no-floating-promises": {
|
||||
"count": 1
|
||||
},
|
||||
"typescript/require-await": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"src/components/StarterPack/Wizard/WizardEditListDialog.tsx": {
|
||||
"typescript/no-explicit-any": {
|
||||
"count": 1
|
||||
|
||||
@@ -53,14 +53,15 @@ function ShareDialogInner({
|
||||
|
||||
const imageUrl = getStarterPackOgCard(starterPack)
|
||||
|
||||
const onShareLink = async () => {
|
||||
const onShareLink = () => {
|
||||
if (!link) return
|
||||
shareUrl(link)
|
||||
ax.metric('starterPack:share', {
|
||||
starterPack: starterPack.uri,
|
||||
shareType: 'link',
|
||||
})
|
||||
control.close()
|
||||
control.close(() => {
|
||||
void shareUrl(link)
|
||||
})
|
||||
}
|
||||
|
||||
const saveImageToAlbum = useSaveImageToMediaLibrary()
|
||||
|
||||
Reference in New Issue
Block a user