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