Skip to content

Commit

Permalink
rename to menuIconSize
Browse files Browse the repository at this point in the history
  • Loading branch information
rushatgabhane committed May 2, 2024
1 parent 30cc4ec commit c5b5076
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/FeatureList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ function FeatureList({
<MenuItem
title={translate(translationKey)}
icon={icon}
iconWidth={variables.menuIconSizeMedium}
iconHeight={variables.menuIconSizeMedium}
iconWidth={variables.menuIconSize}
iconHeight={variables.menuIconSize}
interactive={false}
displayInDefaultIconColor
wrapperStyle={[styles.p0, styles.cursorAuto]}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ function BaseOnboardingPurpose({shouldUseNativeStyles, shouldEnableMaxHeight, on
title: translate(translationKey),
icon: menuIcons[choice],
displayInDefaultIconColor: true,
iconWidth: variables.menuIconSizeMedium,
iconHeight: variables.menuIconSizeMedium,
iconWidth: variables.menuIconSize,
iconHeight: variables.menuIconSize,
iconStyles: [styles.mh3],
wrapperStyle: [styles.purposeMenuItem, isSelected && styles.purposeMenuItemSelected],
hoverAndPressStyle: [styles.purposeMenuItemSelected],
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default {
hoverDimValue: 1,
pressDimValue: 0.8,
qrShareHorizontalPadding: 32,
menuIconSizeMedium: 48,
menuIconSize: 48,

moneyRequestSkeletonHeight: 107,

Expand Down

0 comments on commit c5b5076

Please sign in to comment.