From 5f64f54ef581481c7c3f2033a5bf3290cf5f910a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 8 May 2023 11:13:46 -0700 Subject: [PATCH] Fix previews in DMs TODO: maybe we need to just add this to NoteContentView? I don't want to do this just yet though because I'm about to cut a release and I don't want to introduce new bugs. --- damus/Views/DMView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/DMView.swift b/damus/Views/DMView.swift index 8efb851c..cd2fded5 100644 --- a/damus/Views/DMView.swift +++ b/damus/Views/DMView.swift @@ -42,6 +42,7 @@ struct DMView: View { let should_show_img = should_show_images(settings: damus_state.settings, contacts: damus_state.contacts, ev: event, our_pubkey: damus_state.pubkey) NoteContentView(damus_state: damus_state, event: event, show_images: should_show_img, size: .normal, options: dm_options) + .fixedSize(horizontal: false, vertical: true) .padding([.top, .leading, .trailing], 10) .padding([.bottom], 25) .background(VisualEffectView(effect: UIBlurEffect(style: .prominent))