From 23660898962ab54245696939b5c8b47862992cfd Mon Sep 17 00:00:00 2001 From: OlegAba Date: Fri, 10 Feb 2023 16:52:34 -0500 Subject: [PATCH] Fix vertical spacing bug --- damus/Views/Profile/ProfileNameView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/damus/Views/Profile/ProfileNameView.swift b/damus/Views/Profile/ProfileNameView.swift index 50c9de74..395e93f3 100644 --- a/damus/Views/Profile/ProfileNameView.swift +++ b/damus/Views/Profile/ProfileNameView.swift @@ -18,7 +18,7 @@ struct ProfileNameView: View { var body: some View { Group { if let real_name = profile?.display_name { - VStack(alignment: .leading) { + VStack(alignment: .leading, spacing: 0) { Text(real_name) .font(.title3.weight(.bold)) HStack(alignment: .center, spacing: spacing) { @@ -30,6 +30,7 @@ struct ProfileNameView: View { FollowsYou() } } + Spacer() KeyView(pubkey: pubkey) .pubkey_context_menu(bech32_pubkey: pubkey) }