damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 6517dcba3f6114f86e25886db335887663f49559
parent 63e28d4d794a8131885c26abc08abd05a1b5bf7e
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date:   Fri, 24 Mar 2023 22:09:55 -0600

Fixed small notification hit boxes

Changelog-Fixed: Fixed small notification hit boxes

Diffstat:
Mdamus/Views/Notifications/EventGroupView.swift | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/damus/Views/Notifications/EventGroupView.swift b/damus/Views/Notifications/EventGroupView.swift @@ -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 } } }