Set voice messages max width (#1980)

This commit is contained in:
Alfonso Grillo 2023-10-30 12:09:10 +01:00 committed by GitHub
parent 5439b650a0
commit 7ba2e4f9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@ struct VoiceMessageRoomTimelineView: View {
onSeek: { onPlaybackSeek($0) },
onScrubbing: { onPlaybackScrubbing($0) })
.fixedSize(horizontal: false, vertical: true)
.frame(maxWidth: 400)
}
}