summaryrefslogtreecommitdiff
path: root/TalerWallet1/Views/Peer2peer/SendPurpose.swift
diff options
context:
space:
mode:
Diffstat (limited to 'TalerWallet1/Views/Peer2peer/SendPurpose.swift')
-rw-r--r--TalerWallet1/Views/Peer2peer/SendPurpose.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/TalerWallet1/Views/Peer2peer/SendPurpose.swift b/TalerWallet1/Views/Peer2peer/SendPurpose.swift
index e84e3df..06ba0a4 100644
--- a/TalerWallet1/Views/Peer2peer/SendPurpose.swift
+++ b/TalerWallet1/Views/Peer2peer/SendPurpose.swift
@@ -81,7 +81,6 @@ struct SendPurpose: View {
.disabled(false)
.padding(.bottom)
- let emptyStr = ""
let disabled = (expireDays == 0) || (summary.count < 1) // TODO: check amountAvailable
NavigationLink(destination: LazyView {
SendDoneV(stack: stack.push(),
@@ -95,8 +94,7 @@ struct SendPurpose: View {
}
.buttonStyle(TalerButtonStyle(type: .prominent))
.disabled(disabled)
- .accessibilityHint(disabled ? "enabled when subject and expiration are set" : emptyStr)
-
+ .accessibilityHint(disabled ? "enabled when subject and expiration are set" : EMPTYSTRING)
Spacer()
}