Skip to content

Commit

Permalink
fix participant identity
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Mar 4, 2024
1 parent b5ccd77 commit fb44564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Shared/Views/StreamEventTileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct StreamEventTileView: View {

VStack(alignment: .leading, spacing: 5) {
if let participant = entry.participant {
Text(String(describing: participant.identity))
Text(participant.identity?.stringValue ?? "?")
.font(.system(size: 14))
.fontWeight(.bold)
.frame(maxWidth: .infinity, alignment: .leading)
Expand Down
2 changes: 1 addition & 1 deletion Shared/Views/UserTileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct UserTileView: View {
image(for: participant)
.frame(width: 30, height: 30)

Text(String(describing: participant.identity))
Text(participant.identity?.stringValue ?? "?")
.font(.system(size: 14, weight: .bold))

if isCreator || isCoHost {
Expand Down

0 comments on commit fb44564

Please sign in to comment.