diff --git a/components/account/AccountMoreButton.vue b/components/account/AccountMoreButton.vue index 8ed10195..866c02a1 100644 --- a/components/account/AccountMoreButton.vue +++ b/components/account/AccountMoreButton.vue @@ -18,6 +18,11 @@ const isSelf = $(useSelfAccount(() => account)) const { t } = useI18n() const { client } = $(useMasto()) const useStarFavoriteIcon = usePreferences('useStarFavoriteIcon') +const { share, isSupported: isShareSupported } = useShare() + +function shareAccount() { + share({ url: location.href }) +} async function toggleReblogs() { if (!relationship!.showingReblogs && await openConfirmDialog({ @@ -61,6 +66,13 @@ async function removeUserNote() { :command="command" /> +