damus

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

commit b776788b3894f28b889e1027249383824d586bac
parent 78066773f49940d39ed2ffe15ae09a61daef8db2
Author: Terry Yiu <git@tyiu.xyz>
Date:   Mon,  9 Dec 2024 18:36:17 -0500

Fix SideMenuView text to autoscale and limit to 1 line

Changelog-Fixed: Fixed SideMenuView text to autoscale and limit to 1 line

Signed-off-by: Terry Yiu <git@tyiu.xyz>

Diffstat:
Mdamus/Views/SideMenuView.swift | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/damus/Views/SideMenuView.swift b/damus/Views/SideMenuView.swift @@ -226,6 +226,8 @@ struct SideMenuView: View { .foregroundColor(DamusColors.adaptableBlack) .frame(maxWidth: .infinity, alignment: .leading) .dynamicTypeSize(.xSmall) + .minimumScaleFactor(0.5) + .lineLimit(1) } } }