Skip to content

Commit 10d8a07

Browse files
authored
ui: receiveview address clickable
1 parent 4c58532 commit 10d8a07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

BDKSwiftExampleWallet/View/Receive/ReceiveView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ struct ReceiveView: View {
5252
.padding()
5353

5454
HStack {
55-
Text(viewModel.address)
56-
.lineLimit(1)
57-
.truncationMode(.middle)
58-
.fontDesign(.monospaced)
5955
Button {
6056
UIPasteboard.general.string = viewModel.address
6157
isCopied = true
@@ -66,6 +62,10 @@ struct ReceiveView: View {
6662
}
6763
} label: {
6864
HStack {
65+
Text(viewModel.address)
66+
.lineLimit(1)
67+
.truncationMode(.middle)
68+
.fontDesign(.monospaced)
6969
withAnimation {
7070
Image(
7171
systemName: showCheckmark

0 commit comments

Comments
 (0)