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.
This commit is contained in:
@@ -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)
|
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)
|
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([.top, .leading, .trailing], 10)
|
||||||
.padding([.bottom], 25)
|
.padding([.bottom], 25)
|
||||||
.background(VisualEffectView(effect: UIBlurEffect(style: .prominent))
|
.background(VisualEffectView(effect: UIBlurEffect(style: .prominent))
|
||||||
|
|||||||
Reference in New Issue
Block a user