Add missing plugin forward between LoggedInAppScopeFlowNode and LoggedInFlowNode. The RoomComponent was not created.

Fix crash when opening a room.
This commit is contained in:
Benoit Marty 2023-08-28 16:54:08 +02:00
parent 216f23f126
commit eed1a30717

View file

@ -102,7 +102,8 @@ class LoggedInAppScopeFlowNode @AssistedInject constructor(
plugins<Callback>().forEach { it.onOpenBugReport() } plugins<Callback>().forEach { it.onOpenBugReport() }
} }
} }
createNode<LoggedInFlowNode>(buildContext, listOf(callback)) val nodeLifecycleCallbacks = plugins<NodeLifecycleCallback>()
createNode<LoggedInFlowNode>(buildContext, nodeLifecycleCallbacks + callback)
} }
} }
} }