Skip to content

Commit 0a67f8c

Browse files
authored
ui: button placement receiveview
1 parent 5491a91 commit 0a67f8c

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

BDKSwiftExampleWallet/Resources/Localizable.xcstrings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,9 @@
809809
}
810810
}
811811
}
812+
},
813+
"Wallet only supports BIP86." : {
814+
812815
},
813816
"Wallet Transaction Error" : {
814817
"localizations" : {

BDKSwiftExampleWallet/View/Receive/ReceiveView.swift

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ struct ReceiveView: View {
2222

2323
VStack {
2424

25+
HStack {
26+
Spacer()
27+
Button {
28+
viewModel.startNFCSession()
29+
} label: {
30+
Image(systemName: "wave.3.right")
31+
.foregroundColor(.primary)
32+
}
33+
}
34+
.padding(.trailing)
35+
.padding(.top)
36+
2537
VStack(spacing: 8) {
2638
Image("bitcoinsign.arrow.down")
2739
.symbolRenderingMode(.hierarchical)
@@ -52,12 +64,12 @@ struct ReceiveView: View {
5264
)
5365
.padding()
5466

55-
Button {
56-
viewModel.startNFCSession()
57-
} label: {
58-
Image(systemName: "wave.3.right")
59-
.foregroundColor(.primary)
60-
}
67+
// Button {
68+
// viewModel.startNFCSession()
69+
// } label: {
70+
// Image(systemName: "wave.3.right")
71+
// .foregroundColor(.primary)
72+
// }
6173

6274
HStack {
6375
Button {

0 commit comments

Comments
 (0)