Fix vertical spacing bug

This commit is contained in:
OlegAba
2023-02-10 16:52:34 -05:00
parent 9a95967a81
commit 2366089896

View File

@@ -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)
}