summaryrefslogtreecommitdiff
path: root/wallet
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-01-02 13:46:42 -0600
committerIván Ávalos <avalos@disroot.org>2024-01-08 14:45:46 -0600
commit90153fa030b2749201c284b19195d51ea93496d7 (patch)
treef34799df60fa44ab1370b56f2c42a3492502873c /wallet
parent6ce528f82d67f5387b457de1e4a2d5d2f1fdb0bb (diff)
downloadtaler-android-90153fa030b2749201c284b19195d51ea93496d7.tar.gz
taler-android-90153fa030b2749201c284b19195d51ea93496d7.tar.bz2
taler-android-90153fa030b2749201c284b19195d51ea93496d7.zip
[wallet] Delete unused numCoins field
Diffstat (limited to 'wallet')
-rw-r--r--wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt6
1 files 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
index ca2309d..9fd1f9d 100644
--- 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,
)