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) {
ProfilePicturesView(state: state, events: group.events)
GroupDescription
if let event {
let thread = ThreadModel(event: event, damus_state: state)
let dest = ThreadView(state: state, thread: thread)
NavigationLink(destination: dest) {
Text(render_note_content(ev: event, profiles: state.profiles, privkey: state.keypair.privkey).content)
.padding([.top], 1)
.foregroundColor(.gray)
VStack(alignment: .leading) {
GroupDescription
EventBody(damus_state: state, event: event, size: .normal, options: [])
.padding([.top], 1)
.foregroundColor(.gray)
}
}
.buttonStyle(.plain)
} else {
GroupDescription
}
}
}