fix: update share functionality to include share URL and message
This commit is contained in:
parent
ed3c3f755d
commit
f8ef744d01
|
|
@ -113,8 +113,10 @@ function ProfileScreenImpl(props: { userId: string }) {
|
|||
const textLabelColor = useColor("label")
|
||||
const openShareUrl = useCallback(() => {
|
||||
if (!user?.id) return
|
||||
const shareUrl = `https://app.follow.is/share/users/${user.id}`
|
||||
Share.share({
|
||||
url: `https://app.follow.is/share/users/${user.id}`,
|
||||
message: shareUrl,
|
||||
url: shareUrl,
|
||||
title: `Folo | ${user.name}'s Profile`,
|
||||
})
|
||||
}, [user?.id, user?.name])
|
||||
|
|
|
|||
Loading…
Reference in New Issue