Add "Complete verification" item in the root setting screen.
This commit is contained in:
parent
6c5c050ba3
commit
d0cf400146
9 changed files with 46 additions and 9 deletions
|
|
@ -69,7 +69,6 @@ import io.element.android.services.analytics.api.AnalyticsService
|
|||
import io.element.android.services.appnavstate.api.AppNavigationStateService
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.debounce
|
||||
import kotlinx.coroutines.flow.distinctUntilChanged
|
||||
import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
|
|
@ -292,6 +291,10 @@ class LoggedInFlowNode @AssistedInject constructor(
|
|||
override fun onOpenBugReport() {
|
||||
plugins<Callback>().forEach { it.onOpenBugReport() }
|
||||
}
|
||||
|
||||
override fun onVerifyClicked() {
|
||||
backstack.push(NavTarget.VerifySession)
|
||||
}
|
||||
}
|
||||
preferencesEntryPoint.nodeBuilder(this, buildContext)
|
||||
.callback(callback)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue