Updated on 2026-08-14
This commit is contained in:
parent
e6fcb9e2fe
commit
40c37826bf
198 changed files with 791 additions and 704 deletions
|
|
@ -73,12 +73,12 @@ class UserWalletManagerImpl(
|
|||
requireNotNull(appStateHolder.userTokensRepository) { "userTokensRepository is null" }
|
||||
if (card != null) {
|
||||
return userTokensRepository.getUserTokens(card)
|
||||
.any { it.coinId.equals(currency.id) } //todo ensure that its the same ids
|
||||
.any { it.coinId.equals(currency.id) } // todo ensure that its the same ids
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
//todo check is it sync operation
|
||||
// todo check is it sync operation
|
||||
override fun addToken(currency: Currency) {
|
||||
val action = if (currency is NativeToken) {
|
||||
val card = appStateHolder.getActualCard()
|
||||
|
|
@ -180,7 +180,7 @@ class UserWalletManagerImpl(
|
|||
}
|
||||
|
||||
private fun createDerivationParams(derivationStyle: DerivationStyle?): DerivationParams? {
|
||||
//todo clarify if its need to add Custom
|
||||
// todo clarify if its need to add Custom
|
||||
return derivationStyle?.let { DerivationParams.Default(derivationStyle) }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue