Skip to content

Commit

Permalink
move flex1 to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Guccio163 committed Sep 11, 2024
1 parent 762bffc commit f8ab06d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/components/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ function MenuItem(
const combinedTitleTextStyle = StyleUtils.combineStyles(
[
styles.flexShrink1,
styles.flex1,
styles.popoverMenuText,
// eslint-disable-next-line no-nested-ternary
shouldPutLeftPaddingWhenNoIcon || (icon && !Array.isArray(icon)) ? (avatarSize === CONST.AVATAR_SIZE.SMALL ? styles.ml2 : styles.ml3) : {},
Expand Down
1 change: 1 addition & 0 deletions src/pages/Search/AdvancedSearchFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ function AdvancedSearchFilters() {
<MenuItemWithTopDescription
key={filter.description}
title={filter.title}
titleStyle={styles.flex1}
description={filter.description}
shouldShowRightIcon
onPress={filter.onPress}
Expand Down

0 comments on commit f8ab06d

Please sign in to comment.