Remove the FtueEntryPoint.Callback, LoggedInFlowNode is already observing the Ftue state to change the root target.

This commit is contained in:
Benoit Marty
2024-05-01 12:58:17 +02:00
committed by Benoit Marty
parent 87595c7a5f
commit 76bbbe57ba
4 changed files with 1 additions and 20 deletions

View File

@@ -345,11 +345,6 @@ class LoggedInFlowNode @AssistedInject constructor(
}
NavTarget.Ftue -> {
ftueEntryPoint.nodeBuilder(this, buildContext)
.callback(object : FtueEntryPoint.Callback {
override fun onFtueFlowFinished() {
lifecycleScope.launch { attachRoomList() }
}
})
.build()
}
NavTarget.RoomDirectorySearch -> {