Skip to content

Commit 8c2cc41

Browse files
committed
Add missing plugin forward between LoggedInAppScopeFlowNode and LoggedInFlowNode. The RoomComponent was not created.
Fix crash when opening a room.
1 parent 29465f4 commit 8c2cc41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ class LoggedInAppScopeFlowNode @AssistedInject constructor(
102102
plugins<Callback>().forEach { it.onOpenBugReport() }
103103
}
104104
}
105-
createNode<LoggedInFlowNode>(buildContext, listOf(callback))
105+
val nodeLifecycleCallbacks = plugins<NodeLifecycleCallback>()
106+
createNode<LoggedInFlowNode>(buildContext, nodeLifecycleCallbacks + callback)
106107
}
107108
}
108109
}

0 commit comments

Comments
 (0)