Bluesky app fork with some witchin' additions 💫

fix: remove duplicate banner

xan.lol f8975036 22cd28e7

verified
+6 -17
+6 -17
src/screens/Profile/Header/Shell.tsx
··· 1 1 import {memo, useCallback, useEffect, useMemo, useRef} from 'react' 2 - import {Pressable, TouchableWithoutFeedback, View} from 'react-native' 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 - <TouchableWithoutFeedback 266 - testID="profileHeaderBannerButton" 267 - onPress={onPressBanner} 268 - accessibilityRole="image" 269 - accessibilityLabel={_(msg`View ${profile.handle}'s banner`)} 270 - accessibilityHint=""> 271 - <View> 272 - <Animated.View ref={bannerRef} collapsable={false}> 273 - <UserBanner 274 - type={profile.associated?.labeler ? 'labeler' : 'default'} 275 - banner={profile.banner} 276 - moderation={moderation.ui('banner')} 277 - /> 278 - </Animated.View> 279 - </View> 280 - </TouchableWithoutFeedback> 265 + <UserBanner 266 + type={profile.associated?.labeler ? 'labeler' : 'default'} 267 + banner={profile.banner} 268 + moderation={moderation.ui('banner')} 269 + /> 281 270 )} 282 271 </GrowableBanner> 283 272 </View>