From 92fb89cd35588ee36190c95b1af1e9595b397fae Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 12 Apr 2026 11:54:47 -0500 Subject: fix: ensure looked-up users' bios render correctly --- Hutch/Views/Lookup/UserProfileView.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Hutch/Views/Lookup/UserProfileView.swift') diff --git a/Hutch/Views/Lookup/UserProfileView.swift b/Hutch/Views/Lookup/UserProfileView.swift index b467c63..b694738 100644 --- a/Hutch/Views/Lookup/UserProfileView.swift +++ b/Hutch/Views/Lookup/UserProfileView.swift @@ -74,9 +74,12 @@ struct UserProfileView: View { } } - if let bio = user.bio { + if let bio = user.bio, !bio.isEmpty { Section("Bio") { - Text(bio) + Text(profileBioAttributedString(bio)) + .frame(maxWidth: .infinity, alignment: .leading) + .tint(.accentColor) + .textSelection(.enabled) } } -- cgit v1.2.3