Skip to content

Commit

Permalink
Fix missing user ID. (#3725)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Jan 31, 2025
1 parent 342f252 commit ef340fb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ struct BlockedUsersScreen: View {
} else {
Form {
ForEach(context.viewState.blockedUsers, id: \.self) { user in
ListRow(label: .avatar(title: user.displayName ?? user.userID, icon: avatar(for: user)),
ListRow(label: .avatar(title: user.displayName ?? user.userID,
description: user.displayName != nil ? user.userID : nil,
icon: avatar(for: user)),
details: .isWaiting(context.viewState.processingUserID == user.userID),
kind: .button { context.send(viewAction: .unblockUser(user)) })
}
Expand Down

0 comments on commit ef340fb

Please sign in to comment.