Skip to content

Commit

Permalink
Add updates to Search Button positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed Sep 20, 2024
1 parent 6cdeaae commit 83fab84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/MoneyRequestHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ function MoneyRequestHeader({report, parentReportAction, policy, shouldUseNarrow
}}
policy={policy}
shouldShowBackButton={shouldUseNarrowLayout}
onBackButtonPress={onBackButtonPress}
shouldDisplaySearchRouter
onBackButtonPress={onBackButtonPress}
>
{hasAllPendingRTERViolations && !shouldUseNarrowLayout && (
<Button
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/SearchRouter/SearchRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import ROUTES from '@src/ROUTES';
import {useSearchRouterContext} from './SearchRouterContext';
import SearchRouterInput from './SearchRouterInput';

const SEARCH_DEBOUNCE_DELAY = 200;
const SEARCH_DEBOUNCE_DELAY = 150;

function SearchRouter() {
const styles = useThemeStyles();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/HeaderView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ function HeaderView({report, parentReportAction, reportID, onNavigationMenuButto
</View>
)}
</PressableWithoutFeedback>
<SearchButton />
<View style={[styles.reportOptions, styles.flexRow, styles.alignItemsCenter]}>
{ReportUtils.isChatUsedForOnboarding(report) && <FreeTrialBadge />}
{isTaskReport && !shouldUseNarrowLayout && ReportUtils.isOpenTaskReport(report, parentReportAction) && <TaskHeaderActionButton report={report} />}
{canJoin && !shouldUseNarrowLayout && joinButton}
</View>
<SearchButton />
</View>
<ConfirmModal
isVisible={isDeleteTaskConfirmModalVisible}
Expand Down

0 comments on commit 83fab84

Please sign in to comment.