taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 39088558ab50c55b99a304eec43cc29d2c0aadbc
parent cf75516359e4f140d7f10bce44754b696901e6f8
Author: Marc Stibane <marc@taler.net>
Date:   Thu,  8 Aug 2024 18:24:46 +0200

cleanup

Diffstat:
MTalerWallet1/Model/Model+Deposit.swift | 2+-
MTalerWallet1/Views/HelperViews/BarGraph.swift | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Model/Model+Deposit.swift b/TalerWallet1/Model/Model+Deposit.swift @@ -79,7 +79,7 @@ struct CheckDepositResult: Codable { /// A request to get an exchange's deposit contract terms. fileprivate struct CheckDeposit: WalletBackendFormattedRequest { typealias Response = CheckDepositResult - func operation() -> String { "checkDeposit" } + func operation() -> String { "prepareDeposit" } // checkDeposit func args() -> Args { Args(depositPaytoUri: depositPaytoUri, amount: amount, clientCancellationId: "cancel") } diff --git a/TalerWallet1/Views/HelperViews/BarGraph.swift b/TalerWallet1/Views/HelperViews/BarGraph.swift @@ -84,10 +84,10 @@ struct BarGraph: View { let width = barHeight / 3 Rectangle() .opacity(0.001) - .frame (width: width, height: incoming ? valueTransparent : barHeight ) + .frame (width: width, height: incoming ? valueTransparent : barHeight) Rectangle() .foregroundColor(incoming ? .green : .red) - .frame (width: width, height: valueColored ) + .frame (width: width, height: valueColored) Rectangle() .opacity(0.001) .frame (width: width, height: incoming ? barHeight : valueTransparent)