Skip to content

Commit

Permalink
Merge pull request #21936 from dukenv0307/fix/21404-regression
Browse files Browse the repository at this point in the history
Fix: Date is not being displayed correctly when single digit day is entered (only fix on dob page)
  • Loading branch information
cristipaval authored Jun 30, 2023
2 parents 282ee2c + a4ff694 commit 0bbf3fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function MenuItem(props) {
const descriptionVerticalMargin = props.shouldShowDescriptionOnTop ? styles.mb1 : styles.mt1;
const titleTextStyle = StyleUtils.combineStyles(
[
styles.flex1,
styles.flexShrink1,
styles.popoverMenuText,
props.icon && !_.isArray(props.icon) ? styles.ml3 : undefined,
props.shouldShowBasicTitle ? undefined : styles.textStrong,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function PersonalDetailsInitialPage(props) {
description={props.translate('common.dob')}
shouldShowRightIcon
onPress={() => Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS_DATE_OF_BIRTH)}
titleStyle={[styles.flex1]}
/>
<MenuItemWithTopDescription
title={getFormattedAddress()}
Expand Down

0 comments on commit 0bbf3fc

Please sign in to comment.