Updated on 2026-08-14
This commit is contained in:
parent
4e38602301
commit
2317703e37
29 changed files with 369 additions and 169 deletions
|
|
@ -12,10 +12,10 @@ internal class RuntimeUserWalletsStore(
|
|||
private val walletsStateHolder: WalletsStateHolder,
|
||||
) : UserWalletsStore {
|
||||
|
||||
override suspend fun getOrNull(userWalletId: UserWalletId): UserWallet? {
|
||||
override suspend fun getSyncOrNull(key: UserWalletId): UserWallet? {
|
||||
return walletsStateHolder.userWalletsListManager
|
||||
?.userWallets
|
||||
?.firstOrNull()
|
||||
?.singleOrNull { it.walletId == userWalletId }
|
||||
?.singleOrNull { it.walletId == key }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue