We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ab965 commit 8ddf6fdCopy full SHA for 8ddf6fd
BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift
@@ -33,10 +33,9 @@ struct BuildTransactionView: View {
33
HStack {
34
Text("To")
35
Spacer()
36
- Text(address)
+ Text(address.count > 10 ? "\(address.prefix(6))...\(address.suffix(4))" : address)
37
.lineLimit(1)
38
.truncationMode(.middle)
39
- .frame(maxWidth: 100)
40
}
41
42
Text("Send")
0 commit comments