ui: show lud16 in attach wallet ui
This commit is contained in:
@@ -46,6 +46,12 @@ struct ConnectWalletView: View {
|
||||
.font(.body)
|
||||
.foregroundColor(.gray)
|
||||
|
||||
if let lud16 = nwc.lud16 {
|
||||
Text(lud16)
|
||||
.font(.body)
|
||||
.foregroundColor(.gray)
|
||||
}
|
||||
|
||||
BigButton("Attach") {
|
||||
model.connect(nwc)
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@ struct WalletView: View {
|
||||
VStack {
|
||||
Text("\(nwc.relay.id)")
|
||||
|
||||
if let lud16 = nwc.lud16 {
|
||||
Text("\(lud16)")
|
||||
}
|
||||
|
||||
BigButton("Disconnect Wallet") {
|
||||
self.model.disconnect()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user