profile: tweak button positioning

This commit is contained in:
William Casarin
2023-01-03 23:37:33 -08:00
parent dba31a9d33
commit 186954195d

View File

@@ -203,6 +203,8 @@ struct ProfileView: View {
Spacer() Spacer()
Group {
if let profile = data { if let profile = data {
if let lnurl = profile.lnurl, lnurl != "" { if let lnurl = profile.lnurl, lnurl != "" {
LNButton(lnurl: lnurl, profile: profile) LNButton(lnurl: lnurl, profile: profile)
@@ -222,6 +224,8 @@ struct ProfileView: View {
} }
} }
} }
.offset(y: -15.0) // Increase if set a frame
}
ProfileNameView(pubkey: profile.pubkey, profile: data, contacts: damus_state.contacts) ProfileNameView(pubkey: profile.pubkey, profile: data, contacts: damus_state.contacts)
//.padding(.bottom) //.padding(.bottom)