Bluesky app fork with some witchin' additions 💫

do not show share gate on !no-unauthenticated (#23)

authored by

callie and committed by
GitHub
811e8c40 55983a18

+6 -6
+6 -6
src/view/com/util/post-ctrls/PostCtrls.tsx
··· 8 8 } from 'react-native' 9 9 import * as Clipboard from 'expo-clipboard' 10 10 import { 11 - AppBskyFeedDefs, 12 - AppBskyFeedPost, 13 - AppBskyFeedThreadgate, 11 + type AppBskyFeedDefs, 12 + type AppBskyFeedPost, 13 + type AppBskyFeedThreadgate, 14 14 AtUri, 15 - RichText as RichTextAPI, 15 + type RichText as RichTextAPI, 16 16 } from '@atproto/api' 17 17 import {msg, plural} from '@lingui/macro' 18 18 import {useLingui} from '@lingui/react' ··· 26 26 import {shareUrl} from '#/lib/sharing' 27 27 import {useGate} from '#/lib/statsig/statsig' 28 28 import {toShareUrl} from '#/lib/strings/url-helpers' 29 - import {Shadow} from '#/state/cache/types' 29 + import {type Shadow} from '#/state/cache/types' 30 30 import {useFeedFeedbackContext} from '#/state/feed-feedback' 31 31 import { 32 32 usePostLikeMutationQueue, ··· 340 340 testID="shareBtn" 341 341 style={btnStyle} 342 342 onPress={() => { 343 - if (shouldShowLoggedOutWarning) { 343 + if (false && shouldShowLoggedOutWarning) { 344 344 loggedOutWarningPromptControl.open() 345 345 } else { 346 346 onShare()