Compare commits

...

1 Commits

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) {
.padding([.top], 1) GroupDescription
.foregroundColor(.gray) EventBody(damus_state: state, event: event, size: .normal, options: [])
.padding([.top], 1)
.foregroundColor(.gray)
}
} }
.buttonStyle(.plain) .buttonStyle(.plain)
} else {
GroupDescription
} }
} }
} }