Refactor and Scope user settings to pubkey

This commit is contained in:
William Casarin
2023-04-21 16:21:01 -07:00
parent 9bf8349db6
commit aa559b2916
10 changed files with 295 additions and 312 deletions

View File

@@ -266,9 +266,9 @@ struct ProfileView: View {
} label: {
Label(addr, systemImage: "doc.on.doc")
}
} else if let lnurl = profile.lud06 {
} else if let lnurl = profile.lnurl {
Button {
UIPasteboard.general.string = profile.lnurl ?? ""
UIPasteboard.general.string = lnurl
} label: {
Label(NSLocalizedString("Copy LNURL", comment: "Context menu option for copying a user's Lightning URL."), systemImage: "doc.on.doc")
}