Skip to content

Commit 79d1d7c

Browse files
authored
ui: menu in receiveview
1 parent bc0a485 commit 79d1d7c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

BDKSwiftExampleWallet/Resources/Localizable.xcstrings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@
467467
}
468468
}
469469
}
470+
},
471+
"Coldcard Verify Address" : {
472+
470473
},
471474
"confirmed" : {
472475
"localizations" : {

BDKSwiftExampleWallet/View/Receive/ReceiveView.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ struct ReceiveView: View {
2727

2828
HStack {
2929
Spacer()
30-
Button {
31-
viewModel.startNFCSession()
30+
Menu {
31+
Button("Coldcard Verify Address") {
32+
viewModel.startNFCSession()
33+
}
3234
} label: {
33-
Image(systemName: "wave.3.right")
35+
Image(systemName: "ellipsis")
3436
.foregroundColor(.primary)
3537
}
3638
}

0 commit comments

Comments
 (0)