New: Expose the stateflows for balances.
This conveniently makes the 'value' property accessible without a cast.
This commit is contained in:
parent
e7ec713d5f
commit
d4f0b0474c
|
@ -101,17 +101,17 @@ interface Synchronizer {
|
|||
/**
|
||||
* A stream of balance values for the orchard pool. Includes the available and total balance.
|
||||
*/
|
||||
val orchardBalances: Flow<WalletBalance>
|
||||
val orchardBalances: StateFlow<WalletBalance>
|
||||
|
||||
/**
|
||||
* A stream of balance values for the sapling pool. Includes the available and total balance.
|
||||
*/
|
||||
val saplingBalances: Flow<WalletBalance>
|
||||
val saplingBalances: StateFlow<WalletBalance>
|
||||
|
||||
/**
|
||||
* A stream of balance values for the transparent pool. Includes the available and total balance.
|
||||
*/
|
||||
val transparentBalances: Flow<WalletBalance>
|
||||
val transparentBalances: StateFlow<WalletBalance>
|
||||
|
||||
/* Transactions */
|
||||
|
||||
|
|
Loading…
Reference in New Issue