Updated on 2026-08-14
This commit is contained in:
commit
226a413558
994 changed files with 27178 additions and 11929 deletions
|
|
@ -4,6 +4,7 @@ import com.tangem.datasource.local.userwallet.UserWalletsStore
|
|||
import com.tangem.domain.wallets.legacy.UserWalletsListManager
|
||||
import com.tangem.domain.wallets.models.UserWallet
|
||||
import com.tangem.domain.wallets.models.UserWalletId
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.firstOrNull
|
||||
|
||||
// FIXME: Workaround, remove it once the normal UserWalletsStore has been implemented
|
||||
|
|
@ -15,6 +16,9 @@ internal class RuntimeUserWalletsStore(
|
|||
override val selectedUserWalletOrNull: UserWallet?
|
||||
get() = userWalletsListManager.selectedUserWalletSync
|
||||
|
||||
override val userWallets: Flow<List<UserWallet>>
|
||||
get() = userWalletsListManager.userWallets
|
||||
|
||||
override suspend fun getSyncOrNull(key: UserWalletId): UserWallet? {
|
||||
return userWalletsListManager
|
||||
.userWallets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue