Bluesky app fork with some witchin' additions 💫

Hide menu button when search is focused (#7373)

* hide menu btn when cancel is shown

* remove useless ts-ignores

authored by samuel.fm and committed by

GitHub f61390fd f3229d55

+2 -10
+2 -10
src/view/screens/Search/Search.tsx
··· 3 3 ActivityIndicator, 4 4 Image, 5 5 ImageStyle, 6 - Platform, 7 6 Pressable, 8 7 StyleProp, 9 8 StyleSheet, ··· 221 220 refreshing={isPTR} 222 221 onRefresh={onPullToRefresh} 223 222 onEndReached={onEndReached} 224 - // @ts-ignore web only -prf 225 223 desktopFixedHeight 226 224 contentContainerStyle={{paddingBottom: 100}} 227 225 /> ··· 260 258 <ProfileCardWithFollowBtn profile={item} noBg /> 261 259 )} 262 260 keyExtractor={item => item.did} 263 - // @ts-ignore web only -prf 264 261 desktopFixedHeight 265 262 contentContainerStyle={{paddingBottom: 100}} 266 263 /> ··· 306 303 </View> 307 304 )} 308 305 keyExtractor={item => item.uri} 309 - // @ts-ignore web only -prf 310 306 desktopFixedHeight 311 307 contentContainerStyle={{paddingBottom: 100}} 312 308 /> ··· 556 552 <Explore /> 557 553 ) : ( 558 554 <Layout.Center> 559 - <View 560 - // @ts-ignore web only -esb 561 - style={{ 562 - height: Platform.select({web: '100vh'}), 563 - }}> 555 + <View style={web({height: '100vh'})}> 564 556 {isDesktop && ( 565 557 <Text 566 558 type="title" ··· 856 848 <Layout.Center> 857 849 <View style={[a.p_md, a.pb_sm, a.gap_sm, t.atoms.bg]}> 858 850 <View style={[a.flex_row, a.gap_sm]}> 859 - {!gtMobile && ( 851 + {!gtMobile && !showAutocomplete && ( 860 852 <Button 861 853 testID="viewHeaderBackOrMenuBtn" 862 854 onPress={onPressMenu}