mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Combine the user's own display name/avatar into a single profile.
This is in preparation for adding the user status fields into the profile.
This commit is contained in:
+3
-3
@@ -18,7 +18,7 @@ struct UserDetailsEditScreen: View {
|
||||
Section {
|
||||
avatar
|
||||
} footer: {
|
||||
Text(context.viewState.userID)
|
||||
Text(context.viewState.currentUserProfile.id)
|
||||
.frame(maxWidth: .infinity)
|
||||
.font(.compound.bodyLG)
|
||||
.foregroundColor(.compound.textPrimary)
|
||||
@@ -62,8 +62,8 @@ struct UserDetailsEditScreen: View {
|
||||
} label: {
|
||||
OverridableAvatarImage(overrideURL: context.viewState.localMedia?.thumbnailURL,
|
||||
url: context.viewState.selectedAvatarURL,
|
||||
name: context.viewState.currentDisplayName,
|
||||
contentID: context.viewState.userID,
|
||||
name: context.viewState.currentUserProfile.displayName,
|
||||
contentID: context.viewState.currentUserProfile.id,
|
||||
shape: .circle,
|
||||
avatarSize: .user(on: .editUserDetails),
|
||||
mediaProvider: context.mediaProvider)
|
||||
|
||||
Reference in New Issue
Block a user