Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

share via bsky.app on mobile

+24 -3
+18 -1
src/components/PostControls/ShareMenu/ShareMenuItems.tsx
··· 8 8 import {makeProfileLink} from '#/lib/routes/links' 9 9 import {type NavigationProp} from '#/lib/routes/types' 10 10 import {shareText, shareUrl} from '#/lib/sharing' 11 - import {toShareUrl} from '#/lib/strings/url-helpers' 11 + import {toShareUrl, toShareUrlBsky} from '#/lib/strings/url-helpers' 12 12 import {logger} from '#/logger' 13 13 import {isIOS} from '#/platform/detection' 14 14 import {useAgeAssurance} from '#/state/ageAssurance/useAgeAssurance' ··· 56 56 const onSharePost = () => { 57 57 logger.metric('share:press:nativeShare', {}, {statsig: true}) 58 58 const url = toShareUrl(href) 59 + shareUrl(url) 60 + onShareProp() 61 + } 62 + 63 + const onSharePostBsky = () => { 64 + logger.metric('share:press:nativeShare', {}, {statsig: true}) 65 + const url = toShareUrlBsky(href) 59 66 shareUrl(url) 60 67 onShareProp() 61 68 } ··· 118 125 onPress={onSharePost}> 119 126 <Menu.ItemText> 120 127 <Trans>Share via...</Trans> 128 + </Menu.ItemText> 129 + <Menu.ItemIcon icon={ArrowOutOfBoxIcon} position="right" /> 130 + </Menu.Item> 131 + 132 + <Menu.Item 133 + testID="postDropdownShareBtn" 134 + label={_(msg`Share via...`)} 135 + onPress={onSharePostBsky}> 136 + <Menu.ItemText> 137 + <Trans>Share via bsky.app...</Trans> 121 138 </Menu.ItemText> 122 139 <Menu.ItemIcon icon={ArrowOutOfBoxIcon} position="right" /> 123 140 </Menu.Item>
+6 -2
src/view/com/profile/ProfileMenu.tsx
··· 276 276 </Menu.Item> 277 277 <Menu.Item 278 278 testID="profileHeaderDropdownShareBtn" 279 - label={isWeb ? _(msg`Copy via bsky.app`) : _(msg`Share via...`)} 279 + label={ 280 + isWeb 281 + ? _(msg`Copy via bsky.app`) 282 + : _(msg`Share via bsky.app...`) 283 + } 280 284 onPress={() => { 281 285 if (showLoggedOutWarning) { 282 286 loggedOutWarningPromptControl.open() ··· 288 292 {isWeb ? ( 289 293 <Trans>Copy via bsky.app</Trans> 290 294 ) : ( 291 - <Trans>Share via...</Trans> 295 + <Trans>Share via bsky.app...</Trans> 292 296 )} 293 297 </Menu.ItemText> 294 298 <Menu.ItemIcon icon={isWeb ? ChainLinkIcon : ArrowOutOfBoxIcon} />