Use a val for the StateFlow, and expose a StateFlow.

This commit is contained in:
Benoit Marty 2023-07-06 17:18:16 +02:00
parent f0910a4e2a
commit 072b59e06b
5 changed files with 9 additions and 14 deletions

View file

@ -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>
}