tangled
alpha
login
or
join now
jeanmachine.dev
/
witchsky.app
forked from
jollywhoppers.com/witchsky.app
0
fork
atom
Bluesky app fork with some witchin' additions 💫
0
fork
atom
overview
issues
pulls
pipelines
fix: remove duplicate banner
xan.lol
3 weeks ago
f8975036
22cd28e7
verified
This commit was signed with the committer's
known signature
.
xan.lol
SSH Key Fingerprint:
SHA256:7Zs+dcly5YqxBg7v8XsE1uPMYCobHKBw7CDiNxpmSrY=
+6
-17
1 changed file
expand all
collapse all
unified
split
src
screens
Profile
Header
Shell.tsx
+6
-17
src/screens/Profile/Header/Shell.tsx
···
1
1
import {memo, useCallback, useEffect, useMemo, useRef} from 'react'
2
2
-
import {Pressable, TouchableWithoutFeedback, View} from 'react-native'
2
2
+
import {Pressable, View} from 'react-native'
3
3
import Animated, {
4
4
measure,
5
5
type MeasuredDimensions,
···
262
262
style={{borderRadius: 0}}
263
263
/>
264
264
) : (
265
265
-
<TouchableWithoutFeedback
266
266
-
testID="profileHeaderBannerButton"
267
267
-
onPress={onPressBanner}
268
268
-
accessibilityRole="image"
269
269
-
accessibilityLabel={_(msg`View ${profile.handle}'s banner`)}
270
270
-
accessibilityHint="">
271
271
-
<View>
272
272
-
<Animated.View ref={bannerRef} collapsable={false}>
273
273
-
<UserBanner
274
274
-
type={profile.associated?.labeler ? 'labeler' : 'default'}
275
275
-
banner={profile.banner}
276
276
-
moderation={moderation.ui('banner')}
277
277
-
/>
278
278
-
</Animated.View>
279
279
-
</View>
280
280
-
</TouchableWithoutFeedback>
265
265
+
<UserBanner
266
266
+
type={profile.associated?.labeler ? 'labeler' : 'default'}
267
267
+
banner={profile.banner}
268
268
+
moderation={moderation.ui('banner')}
269
269
+
/>
281
270
)}
282
271
</GrowableBanner>
283
272
</View>