taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

commit 90153fa030b2749201c284b19195d51ea93496d7
parent 6ce528f82d67f5387b457de1e4a2d5d2f1fdb0bb
Author: Iván Ávalos <avalos@disroot.org>
Date:   Tue,  2 Jan 2024 13:46:42 -0600

[wallet] Delete unused numCoins field

Diffstat:
Mwallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt b/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt @@ -46,7 +46,6 @@ sealed class WithdrawStatus { val exchangeBaseUrl: String, val amountRaw: Amount, val amountEffective: Amount, - val numCoins: Int, val withdrawalAccountList: List<WithdrawalExchangeAccountDetails>, val ageRestrictionOptions: List<Int>? = null, val tosText: String, @@ -59,7 +58,6 @@ sealed class WithdrawStatus { val exchangeBaseUrl: String, val amountRaw: Amount, val amountEffective: Amount, - val numCoins: Int, val withdrawalAccountList: List<WithdrawalExchangeAccountDetails>, val ageRestrictionOptions: List<Int>? = null, ) : WithdrawStatus() @@ -123,7 +121,6 @@ data class ManualWithdrawalDetails( val tosAccepted: Boolean, val amountRaw: Amount, val amountEffective: Amount, - val numCoins: Int, val withdrawalAccountsList: List<WithdrawalExchangeAccountDetails>, val ageRestrictionOptions: List<Int>? = null, ) @@ -210,7 +207,6 @@ class WithdrawManager( exchangeBaseUrl = exchangeBaseUrl, amountRaw = details.amountRaw, amountEffective = details.amountEffective, - numCoins = details.numCoins, withdrawalAccountList = details.withdrawalAccountsList, ageRestrictionOptions = details.ageRestrictionOptions, ) @@ -234,7 +230,6 @@ class WithdrawManager( exchangeBaseUrl = exchangeBaseUrl, amountRaw = details.amountRaw, amountEffective = details.amountEffective, - numCoins = details.numCoins, withdrawalAccountList = details.withdrawalAccountsList, ageRestrictionOptions = details.ageRestrictionOptions, tosText = it.content, @@ -260,7 +255,6 @@ class WithdrawManager( exchangeBaseUrl = s.exchangeBaseUrl, amountRaw = s.amountRaw, amountEffective = s.amountEffective, - numCoins = s.numCoins, withdrawalAccountList = s.withdrawalAccountList, ageRestrictionOptions = s.ageRestrictionOptions, )