diff --git a/src/components/SelectionList/BaseSelectionList.tsx b/src/components/SelectionList/BaseSelectionList.tsx index cec5e0c12948..f27a906dfa91 100644 --- a/src/components/SelectionList/BaseSelectionList.tsx +++ b/src/components/SelectionList/BaseSelectionList.tsx @@ -330,7 +330,7 @@ function BaseSelectionList( // we need to know the heights of all list items up-front in order to synchronously compute the layout of any given list item. // So be aware that if you adjust the content of the section header (for example, change the font size), you may need to adjust this explicit height as well. - {section.title} + {section.title} ); }; @@ -516,7 +516,7 @@ function BaseSelectionList( {({safeAreaPaddingBottomStyle}) => ( {shouldShowTextInput && ( - + { innerTextInputRef.current = element as RNTextInput; diff --git a/src/pages/ChatFinderPage/index.tsx b/src/pages/ChatFinderPage/index.tsx index a7516163c40b..ed7100b3964a 100644 --- a/src/pages/ChatFinderPage/index.tsx +++ b/src/pages/ChatFinderPage/index.tsx @@ -12,7 +12,6 @@ import useDebouncedState from '@hooks/useDebouncedState'; import useDismissedReferralBanners from '@hooks/useDismissedReferralBanners'; import useLocalize from '@hooks/useLocalize'; import useNetwork from '@hooks/useNetwork'; -import useThemeStyles from '@hooks/useThemeStyles'; import type {MaybePhraseKey} from '@libs/Localize'; import Navigation from '@libs/Navigation/Navigation'; import type {RootStackParamList} from '@libs/Navigation/types'; @@ -53,7 +52,6 @@ const ChatFinderPageFooterInstance = ; function ChatFinderPage({betas, isSearchingForReports, navigation}: ChatFinderPageProps) { const [isScreenTransitionEnd, setIsScreenTransitionEnd] = useState(false); - const themeStyles = useThemeStyles(); const {translate} = useLocalize(); const {isOffline} = useNetwork(); const {options, areOptionsInitialized} = useOptionsList({ @@ -179,7 +177,6 @@ function ChatFinderPage({betas, isSearchingForReports, navigation}: ChatFinderPa textInputHint={offlineMessage} onChangeText={setSearchValue} headerMessage={headerMessage} - headerMessageStyle={headerMessage === translate('common.noResultsFound') ? [themeStyles.ph4, themeStyles.pb5] : undefined} onLayout={setPerformanceTimersEnd} onSelectRow={selectReport} showLoadingPlaceholder={!areOptionsInitialized || !isScreenTransitionEnd}