Bluesky app fork with some witchin' additions 💫

move feed context on desktop (#9015)

authored by samuel.fm and committed by

GitHub b15903e0 9bea4508

+4 -9
+4 -9
src/components/PostControls/DiscoverDebug.tsx
··· 5 5 import {DISCOVER_DEBUG_DIDS} from '#/lib/constants' 6 6 import {useGate} from '#/lib/statsig/statsig' 7 7 import {useSession} from '#/state/session' 8 - import * as Toast from '#/view/com/util/Toast' 9 - import {atoms as a, useBreakpoints, useTheme} from '#/alf' 8 + import {atoms as a, useTheme} from '#/alf' 9 + import * as Toast from '#/components/Toast' 10 10 import {Text} from '#/components/Typography' 11 11 import {IS_INTERNAL} from '#/env' 12 12 ··· 16 16 feedContext: string | undefined 17 17 }) { 18 18 const {currentAccount} = useSession() 19 - const {gtMobile} = useBreakpoints() 20 19 const gate = useGate() 21 20 const isDiscoverDebugUser = 22 21 IS_INTERNAL || ··· 30 29 <Pressable 31 30 accessible={false} 32 31 hitSlop={10} 33 - style={[ 34 - a.absolute, 35 - {zIndex: 1000, maxWidth: 65, bottom: -4}, 36 - gtMobile ? a.right_0 : a.left_0, 37 - ]} 32 + style={[a.absolute, {zIndex: 1000, maxWidth: 65, bottom: -4}, a.left_0]} 38 33 onPress={e => { 39 34 e.stopPropagation() 40 35 Clipboard.setStringAsync(feedContext) 41 - Toast.show(t`Copied to clipboard`, 'clipboard-check') 36 + Toast.show(t`Copied to clipboard`) 42 37 }}> 43 38 <Text 44 39 numberOfLines={1}