Skip to content

Commit

Permalink
ProfilePages context menu now shows profile name when display name is…
Browse files Browse the repository at this point in the history
… not present
  • Loading branch information
Sebastian-Webster committed Jan 1, 2024
1 parent 4a119b7 commit 1640062
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 1640062

Please sign in to comment.