diff options
author | Torsten Grote <t@grobox.de> | 2023-04-13 10:02:57 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2023-04-13 10:02:57 -0300 |
commit | c2b8d13fc0c0360ca1f3b66404f41ce1d08c1122 (patch) | |
tree | a51cffbb82b6242dc7564353b808bdf2447d42a1 | |
parent | 5a9174fda280a87cef83d16a3430aae9e388bc0b (diff) | |
download | taler-android-c2b8d13fc0c0360ca1f3b66404f41ce1d08c1122.tar.gz taler-android-c2b8d13fc0c0360ca1f3b66404f41ce1d08c1122.tar.bz2 taler-android-c2b8d13fc0c0360ca1f3b66404f41ce1d08c1122.zip |
[wallet] Remove exchangeBaseUrl from Refresh transactions
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt | 1 | ||||
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/withdraw/TransactionWithdrawalComposable.kt | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt b/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt index 68d0bc4..a306685 100644 --- a/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt +++ b/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt @@ -264,7 +264,6 @@ class TransactionRefresh( override val transactionId: String, override val timestamp: Timestamp, override val extendedStatus: ExtendedStatus, - val exchangeBaseUrl: String, override val error: TalerErrorInfo? = null, override val amountRaw: Amount, override val amountEffective: Amount, diff --git a/wallet/src/main/java/net/taler/wallet/withdraw/TransactionWithdrawalComposable.kt b/wallet/src/main/java/net/taler/wallet/withdraw/TransactionWithdrawalComposable.kt index 9265b6a..578e106 100644 --- a/wallet/src/main/java/net/taler/wallet/withdraw/TransactionWithdrawalComposable.kt +++ b/wallet/src/main/java/net/taler/wallet/withdraw/TransactionWithdrawalComposable.kt @@ -98,7 +98,6 @@ fun TransactionWithdrawalComposable( ) when (t) { is TransactionWithdrawal -> t.exchangeBaseUrl - is TransactionRefresh -> t.exchangeBaseUrl else -> null }?.let { url -> TransactionInfoComposable( @@ -143,7 +142,6 @@ fun TransactionRefreshComposablePreview() { transactionId = "transactionId", timestamp = Timestamp.fromMillis(System.currentTimeMillis() - 360 * 60 * 1000), extendedStatus = ExtendedStatus.Pending, - exchangeBaseUrl = "https://exchange.demo.taler.net/", amountRaw = Amount.fromDouble("TESTKUDOS", 42.23), amountEffective = Amount.fromDouble("TESTKUDOS", 42.1337), error = TalerErrorInfo(code = TalerErrorCode.WALLET_WITHDRAWAL_KYC_REQUIRED), |