Fixed small notification hit boxes

Changelog-Fixed: Fixed small notification hit boxes
This commit is contained in:
2023-03-24 22:09:55 -06:00
committed by William Casarin
parent 63e28d4d79
commit 6517dcba3f

View File

@@ -206,17 +206,20 @@ struct EventGroupView: View {
VStack(alignment: .leading) { VStack(alignment: .leading) {
ProfilePicturesView(state: state, events: group.events) ProfilePicturesView(state: state, events: group.events)
GroupDescription
if let event { if let event {
let thread = ThreadModel(event: event, damus_state: state) let thread = ThreadModel(event: event, damus_state: state)
let dest = ThreadView(state: state, thread: thread) let dest = ThreadView(state: state, thread: thread)
NavigationLink(destination: dest) { NavigationLink(destination: dest) {
Text(render_note_content(ev: event, profiles: state.profiles, privkey: state.keypair.privkey).content) VStack(alignment: .leading) {
GroupDescription
EventBody(damus_state: state, event: event, size: .normal, options: [])
.padding([.top], 1) .padding([.top], 1)
.foregroundColor(.gray) .foregroundColor(.gray)
} }
}
.buttonStyle(.plain) .buttonStyle(.plain)
} else {
GroupDescription
} }
} }
} }