damus

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

commit 61fddf800e1064626b8ecf6edf955a7e3e471a94
parent b6d5b6f45e5e8782c51b2526b52b2d09d3b2808b
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 25 Mar 2023 06:51:56 -0600

Reduced padding for more information density

Changelog-Changed: Reduced padding for more information density

Diffstat:
Mdamus/Views/Events/TextEvent.swift | 4++--
Mdamus/Views/Timeline/InnerTimelineView.swift | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/damus/Views/Events/TextEvent.swift b/damus/Views/Events/TextEvent.swift @@ -35,9 +35,10 @@ struct TextEvent: View { Spacer() } - VStack(alignment: .leading) { + VStack(alignment: .leading, spacing: 1) { HStack(alignment: .center, spacing: 0) { let pk = is_anon ? "anon" : pubkey + EventProfileName(pubkey: pk, profile: profile, damus: damus, show_friend_confirmed: true, size: .normal) Text(verbatim: "⋅") @@ -53,7 +54,6 @@ struct TextEvent: View { .padding([.bottom], 4) } - .minimumScaleFactor(0.75) .lineLimit(1) EventBody(damus_state: damus, event: event, size: .normal) diff --git a/damus/Views/Timeline/InnerTimelineView.swift b/damus/Views/Timeline/InnerTimelineView.swift @@ -42,10 +42,10 @@ struct InnerTimelineView: View { nav_target = ev.inner_event ?? ev navigating = true } - .padding(.top, 10) + .padding(.top, 5) Divider() - .padding([.top], 10) + .padding([.top], 5) } } }