Updated on 2026-08-14
This commit is contained in:
parent
5db8900311
commit
bba00924d4
18 changed files with 110 additions and 314 deletions
|
|
@ -87,6 +87,15 @@ internal class DefaultWalletAccountsFetcher @Inject constructor(
|
|||
store.updateData { response }
|
||||
}
|
||||
|
||||
override suspend fun update(
|
||||
userWalletId: UserWalletId,
|
||||
transform: (GetWalletAccountsResponse?) -> GetWalletAccountsResponse?,
|
||||
) {
|
||||
val store = getAccountsResponseStore(userWalletId = userWalletId)
|
||||
|
||||
store.updateData { transform(it) }
|
||||
}
|
||||
|
||||
override suspend fun push(
|
||||
userWalletId: UserWalletId,
|
||||
accounts: List<WalletAccountDTO>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue