commit 5f64f54ef581481c7c3f2033a5bf3290cf5f910a
parent 0492a256334ea50da8323e8a37eb9693b153d18e
Author: William Casarin <jb55@jb55.com>
Date: Mon, 8 May 2023 11:13:46 -0700
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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))