Updated on 2026-08-14
This commit is contained in:
parent
df7e72f527
commit
7e8b587fbb
1 changed files with 3 additions and 1 deletions
|
|
@ -412,7 +412,9 @@ internal class SendViewModel @Inject constructor(
|
|||
private suspend fun UserWallet.toAvailableWallet(): AvailableWallet? {
|
||||
return if (!isMultiCurrency) {
|
||||
val status = getCryptoCurrencyStatusSyncUseCase(walletId).getOrNull()
|
||||
val address = status?.value?.networkAddress
|
||||
val address = status?.value?.networkAddress.takeIf {
|
||||
status?.currency?.network?.id == cryptoCurrency.network.id
|
||||
}
|
||||
address?.let {
|
||||
AvailableWallet(
|
||||
name = name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue