Bluesky app fork with some witchin' additions 💫

Remove demo-mode spacing tweak

Paul Frazee 7b245935 55795dc2

+6 -10
+6 -10
src/view/com/util/post-embeds/index.tsx
··· 6 6 View, 7 7 type ViewStyle, 8 8 } from 'react-native' 9 - import {type MeasuredDimensions, runOnJS, runOnUI} from 'react-native-reanimated' 9 + import { 10 + type MeasuredDimensions, 11 + runOnJS, 12 + runOnUI, 13 + } from 'react-native-reanimated' 10 14 import {Image} from 'expo-image' 11 15 import { 12 16 AppBskyEmbedExternal, ··· 29 33 import {atoms as a, useTheme} from '#/alf' 30 34 import * as ListCard from '#/components/ListCard' 31 35 import {Embed as StarterPackCard} from '#/components/StarterPack/StarterPackCard' 32 - import {useDemoMode} from '#/storage/hooks/demo-mode' 33 36 import {ContentHider} from '../../../../components/moderation/ContentHider' 34 37 import {type Dimensions} from '../../lightbox/ImageViewing/@types' 35 38 import {AutoSizedImage} from '../images/AutoSizedImage' ··· 65 68 viewContext?: PostEmbedViewContext 66 69 }) { 67 70 const {openLightbox} = useLightboxControls() 68 - const [demoMode] = useDemoMode() 69 71 70 72 // quote post with media 71 73 // = ··· 180 182 const image = images[0] 181 183 return ( 182 184 <ContentHider modui={moderation?.ui('contentMedia')}> 183 - <View 184 - style={[ 185 - a.mt_sm, 186 - style, 187 - demoMode && a.mt_md, 188 - demoMode && a.mb_xs, 189 - ]}> 185 + <View style={[a.mt_sm, style]}> 190 186 <AutoSizedImage 191 187 crop={ 192 188 viewContext === PostEmbedViewContext.ThreadHighlighted