Skip to content

Commit

Permalink
fix profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
techievivek committed Sep 27, 2023
1 parent 78bcb7e commit d122a0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/ProfilePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,16 @@ function ProfilePage(props) {
</View>
) : null}
{shouldShowLocalTime && <AutoUpdateTime timezone={timezone} />}
{chatReportWithCurrentUser.notificationPreference !== CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN && (
</View>
{chatReportWithCurrentUser.notificationPreference !== CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN && (
<MenuItemWithTopDescription
shouldShowRightIcon
title={notificationPreference}
description={props.translate('notificationPreferencesPage.label')}
onPress={() => Navigation.navigate(ROUTES.REPORT_SETTINGS_NOTIFICATION_PREFERENCES.getRoute(chatReportWithCurrentUser.reportID))}
wrapperStyle={[styles.mtn6, styles.mb5]}
/>
)}
</View>
)}
{!isCurrentUser && !Session.isAnonymousUser() && (
<MenuItem
title={`${props.translate('common.message')}${displayName}`}
Expand Down
4 changes: 4 additions & 0 deletions src/styles/utilities/spacing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ export default {
marginTop: 'auto',
},

mtn6 : {
marginTop: -24,
},

mb0: {
marginBottom: 0,
},
Expand Down

0 comments on commit d122a0d

Please sign in to comment.