From e47d137c6a4b3ba54166345bb99f46953c51c09b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 28 Aug 2023 13:07:02 +0200 Subject: [PATCH] Add documentation to LoggedInAppScopeFlowNode. --- .../io/element/android/appnav/LoggedInAppScopeFlowNode.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt b/appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt index 501f1dbc3f..c94967939e 100644 --- a/appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt +++ b/appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt @@ -42,6 +42,11 @@ import io.element.android.libraries.matrix.api.MatrixClient import io.element.android.libraries.matrix.ui.di.MatrixUIBindings import kotlinx.parcelize.Parcelize +/** + * `LoggedInAppScopeFlowNode` is a Node responsible to set up the Dagger + * [io.element.android.libraries.di.SessionScope]. It has only one child: [LoggedInFlowNode]. + * This allow to inject objects with SessionScope in the constructor of [LoggedInFlowNode]. + */ @ContributesNode(AppScope::class) class LoggedInAppScopeFlowNode @AssistedInject constructor( @Assisted buildContext: BuildContext,