Skip to content

Commit

Permalink
Merge pull request #317 from SquareTable/316-profilepages-context-men…
Browse files Browse the repository at this point in the history
…u-does-not-show-name-when-display-name-is-not-present

ProfilePages context menu now shows profile name when display name is not present
  • Loading branch information
Sebastian-Webster authored Jan 1, 2024
2 parents 4a119b7 + 1640062 commit c34c7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screens/ProfilePages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ const ProfilePages = ({ route, navigation }) => {
</ProfileOptionsView>
:
<ProfileOptionsView style={{backgroundColor: colors.primary, height: 500}} viewHidden={false}>
<ProfileOptionsViewText style={{color: colors.tertiary}}>{profileData.profilesDisplayName || "Couldn't get profile display name"}</ProfileOptionsViewText>
<ProfileOptionsViewText style={{color: colors.tertiary}}>{profileData.profilesDisplayName || profileData.profilesName || "Couldn't get profile name"}</ProfileOptionsViewText>
<ProfileOptionsViewSubtitleText style={{color: colors.tertiary}}>Options</ProfileOptionsViewSubtitleText>
<ProfileOptionsViewButtons greyButton={true} style={{height: 'auto', paddingVertical: 10}} onPress={changeProfilesOptionsView}>
<ProfileOptionsViewButtonsText greyButton={true}>Cancel</ProfileOptionsViewButtonsText>
Expand Down

0 comments on commit c34c7c6

Please sign in to comment.