Skip to content

Commit 0311c4c

Browse files
committed
remove paste icon
1 parent 5b438c7 commit 0311c4c

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

BDKSwiftExampleWallet/View/Send/AddressView.swift

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ struct AddressView: View {
2727
VStack {
2828

2929
HStack {
30+
31+
Spacer()
3032

3133
Button {
3234
isShowingScanner = true
@@ -37,28 +39,6 @@ struct AddressView: View {
3739
}
3840
}
3941

40-
Spacer()
41-
42-
Button {
43-
if pasteboard.hasStrings {
44-
if let string = pasteboard.string {
45-
let lowercaseAddress = string.lowercased()
46-
address = lowercaseAddress
47-
} else {
48-
alertMessage = "Unable to get the string from the pasteboard."
49-
isShowingAlert = true
50-
}
51-
} else {
52-
alertMessage = "No strings found in the pasteboard."
53-
isShowingAlert = true
54-
}
55-
} label: {
56-
HStack {
57-
Image(systemName: "doc.on.doc")
58-
.minimumScaleFactor(0.5)
59-
}
60-
}
61-
6242
}
6343
.font(.largeTitle)
6444
.foregroundColor(Color(UIColor.label))

0 commit comments

Comments
 (0)