Browse Source

profile: tweak button positioning

post-button-style
William Casarin 2 years ago
parent
commit
186954195d
  1. 4
      damus/Views/ProfileView.swift

4
damus/Views/ProfileView.swift

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

Loading…
Cancel
Save