From f61390fdf4cf630473ad9cf848a55997f7e4517b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 7 Jan 2025 22:21:58 +0000 Subject: [PATCH] Hide menu button when search is focused (#7373) * hide menu btn when cancel is shown * remove useless ts-ignores --- src/view/screens/Search/Search.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 2c91d37a26..b11bb0510a 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -3,7 +3,6 @@ import { ActivityIndicator, Image, ImageStyle, - Platform, Pressable, StyleProp, StyleSheet, @@ -221,7 +220,6 @@ let SearchScreenPostResults = ({ refreshing={isPTR} onRefresh={onPullToRefresh} onEndReached={onEndReached} - // @ts-ignore web only -prf desktopFixedHeight contentContainerStyle={{paddingBottom: 100}} /> @@ -260,7 +258,6 @@ let SearchScreenUserResults = ({ )} keyExtractor={item => item.did} - // @ts-ignore web only -prf desktopFixedHeight contentContainerStyle={{paddingBottom: 100}} /> @@ -306,7 +303,6 @@ let SearchScreenFeedsResults = ({ )} keyExtractor={item => item.uri} - // @ts-ignore web only -prf desktopFixedHeight contentContainerStyle={{paddingBottom: 100}} /> @@ -556,11 +552,7 @@ let SearchScreenInner = ({ ) : ( - + {isDesktop && ( - {!gtMobile && ( + {!gtMobile && !showAutocomplete && (