diff options
author | Marc Stibane <marc@taler.net> | 2023-07-24 16:40:33 +0200 |
---|---|---|
committer | Marc Stibane <marc@taler.net> | 2023-07-24 16:40:33 +0200 |
commit | 95bf2e98098b03250eed0dcd8c86345c6c595623 (patch) | |
tree | 52abdb4456c4d9120ca161cc14be9ee5e5522b3d | |
parent | 0ee1405c40134c124edda6d1f2e45a478b5fa21a (diff) | |
download | taler-ios-95bf2e98098b03250eed0dcd8c86345c6c595623.tar.gz taler-ios-95bf2e98098b03250eed0dcd8c86345c6c595623.tar.bz2 taler-ios-95bf2e98098b03250eed0dcd8c86345c6c595623.zip |
ToS, move Exchange down
-rw-r--r-- | TalerWallet1/Views/Exchange/ManualWithdraw.swift | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift b/TalerWallet1/Views/Exchange/ManualWithdraw.swift index 9e350ab..5edf76b 100644 --- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift +++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift @@ -32,14 +32,14 @@ struct ManualWithdraw: View { ScrollViewReader { scrollView in VStack { - Text("from \(exchange.exchangeBaseUrl.trimURL())") - .font(.title3) CurrencyInputView(currencyField: currencyField, title: String(localized: "Amount to withdraw:")) - let someCoins = SomeCoins(details: withdrawalAmountDetails) QuiteSomeCoins(someCoins: someCoins, shouldShowFee: true, currency: currency, amountEffective: withdrawalAmountDetails?.amountEffective) + Text(exchange.exchangeBaseUrl.trimURL()) + .multilineTextAlignment(.center) +// .font(.title3) let disabled = (centsToTransfer == 0) || someCoins.invalid || someCoins.tooMany if !disabled { @@ -58,12 +58,15 @@ struct ManualWithdraw: View { Text("Confirm Withdrawal") // VIEW_WITHDRAW_ACCEPT }.buttonStyle(TalerButtonStyle(type: .prominent)) } else { + Text("You must accept the Terms of Service first before you can withdraw electronic cash to your wallet.") + .multilineTextAlignment(.leading) + .padding() NavigationLink(destination: LazyView { WithdrawTOSView(exchangeBaseUrl: exchange.exchangeBaseUrl, viewID: VIEW_WITHDRAW_TOS, acceptAction: nil) // pop back to here }) { - Text("Check Terms of Service") // VIEW_WITHDRAW_TOS + Text("Read Terms of Service") // VIEW_WITHDRAW_TOS }.buttonStyle(TalerButtonStyle(type: .prominent)) } } |