Skip to content

Commit

Permalink
Add back max voice message width and add missing accessibility label
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Dec 12, 2024
1 parent 37c45f8 commit 23845ac
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ struct VoiceMessageRoomTimelineView: View {
TimelineStyler(timelineItem: timelineItem) {
VoiceMessageRoomTimelineContent(timelineItem: timelineItem,
playerState: playerState)
.accessibilityLabel(L10n.commonVoiceMessage)
.frame(maxWidth: 400)
}
}
}
Expand Down Expand Up @@ -83,7 +85,6 @@ struct VoiceMessageRoomTimelineView_Previews: PreviewProvider, TestablePreview {

static var previews: some View {
body.environmentObject(viewModel.context)
.previewDisplayName("Bubble")
}

static var body: some View {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23845ac

Please sign in to comment.