Oidc custom tab: avoid replay.
This commit is contained in:
committed by
Benoit Marty
parent
dbc13a3a3c
commit
af0eab6f0c
@@ -36,4 +36,8 @@ class DefaultOidcActionFlow @Inject constructor() : OidcActionFlow {
|
||||
suspend fun collect(lambda: suspend (OidcAction?) -> Unit) {
|
||||
mutableStateFlow.collect(lambda)
|
||||
}
|
||||
|
||||
fun reset() {
|
||||
mutableStateFlow.value = null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -166,5 +166,6 @@ class LoginRootPresenter @Inject constructor(
|
||||
}
|
||||
}
|
||||
}
|
||||
defaultOidcActionFlow.reset()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user