From 7ba2e4f9f562c2e1e45de3106c04a3c129eb1640 Mon Sep 17 00:00:00 2001 From: Alfonso Grillo Date: Mon, 30 Oct 2023 12:09:10 +0100 Subject: [PATCH] Set voice messages max width (#1980) --- .../Messages/VoiceMessages/VoiceMessageRoomTimelineView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/VoiceMessages/VoiceMessageRoomTimelineView.swift b/ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/VoiceMessages/VoiceMessageRoomTimelineView.swift index 82f3955961..ae337d2fe6 100644 --- a/ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/VoiceMessages/VoiceMessageRoomTimelineView.swift +++ b/ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/VoiceMessages/VoiceMessageRoomTimelineView.swift @@ -35,6 +35,7 @@ struct VoiceMessageRoomTimelineView: View { onSeek: { onPlaybackSeek($0) }, onScrubbing: { onPlaybackScrubbing($0) }) .fixedSize(horizontal: false, vertical: true) + .frame(maxWidth: 400) } }