Oidc custom tab: avoid replay.
This commit is contained in:
parent
dbc13a3a3c
commit
af0eab6f0c
2 changed files with 5 additions and 0 deletions
|
|
@ -36,4 +36,8 @@ class DefaultOidcActionFlow @Inject constructor() : OidcActionFlow {
|
||||||
suspend fun collect(lambda: suspend (OidcAction?) -> Unit) {
|
suspend fun collect(lambda: suspend (OidcAction?) -> Unit) {
|
||||||
mutableStateFlow.collect(lambda)
|
mutableStateFlow.collect(lambda)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun reset() {
|
||||||
|
mutableStateFlow.value = null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -166,5 +166,6 @@ class LoginRootPresenter @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
defaultOidcActionFlow.reset()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue