taler-ios

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

commit 5360255a8e9c51c22ba5bc7a655dc935bd4bd7f3
parent 880bc04665a8530a40cafe636fa5bb02f096a964
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 18 Sep 2023 08:48:38 +0200

test.taler.net now uses KUDOS (instead of TESTKUDOS)

Diffstat:
MTalerWallet1/Controllers/PublicConstants.swift | 3++-
MTalerWallet1/Views/Balances/BalanceRowView.swift | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Controllers/PublicConstants.swift b/TalerWallet1/Controllers/PublicConstants.swift @@ -25,7 +25,8 @@ public let TESTEXCHANGE = HTTPS + "exchange.test.taler.net" public let ARS_AGE_EXCHANGE = HTTPS + "exchange-age.taler.ar" public let ARS_EXP_EXCHANGE = HTTPS + "exchange-expensive.taler.ar" public let DEMOCURRENCY = "KUDOS" -public let TESTCURRENCY = "TESTKUDOS" +//public let TESTCURRENCY = "TESTKUDOS" +public let TESTCURRENCY = "KUDOS" //public let LONGCURRENCY = "gold-pressed Latinum" // 20 characters, with dash and space public let LONGCURRENCY = "GOLDLATINUM" // 11 characters, no dash, no space diff --git a/TalerWallet1/Views/Balances/BalanceRowView.swift b/TalerWallet1/Views/Balances/BalanceRowView.swift @@ -86,9 +86,9 @@ struct BalanceRowView: View { struct BalanceRowView_Previews: PreviewProvider { static var previews: some View { List { - BalanceRowView(amount: try! Amount(fromString: "TestKUDOS" + ":1234.56"), + BalanceRowView(amount: try! Amount(fromString: TESTCURRENCY + ":1234.56"), sendAction: {}, recvAction: {}, rowAction: {}) - BalanceRowView(amount: try! Amount(fromString: "KUDOS" + ":1234.56"), + BalanceRowView(amount: try! Amount(fromString: DEMOCURRENCY + ":1234.56"), sendAction: {}, recvAction: {}, rowAction: {}) } }