Use a val for the StateFlow, and expose a StateFlow.
This commit is contained in:
parent
f0910a4e2a
commit
072b59e06b
5 changed files with 9 additions and 14 deletions
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
package io.element.android.features.login.api
|
||||
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
interface LoginUserStory {
|
||||
fun loginFlowIsDone(): Flow<Boolean>
|
||||
val loginFlowIsDone: StateFlow<Boolean>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue