Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-04 11:57:51 +04:00
parent 642190f7c6
commit 3a5144403b
19 changed files with 1033 additions and 49 deletions

View file

@ -19,6 +19,10 @@ abstract class SingleAccountSupplier(
override val keyCreator: (SingleAccountProducer.Params) -> String,
) : FlowCachingSupplier<SingleAccountProducer, SingleAccountProducer.Params, Account>() {
operator fun invoke(accountId: AccountId): Flow<Account> {
return invoke(params = SingleAccountProducer.Params(accountId))
}
fun filterPaymentAccount(accountId: AccountId): Flow<Account.Payment> {
return invoke(params = SingleAccountProducer.Params(accountId)).filterIsInstance()
}