Skip to content

Commit 0955866

Browse files
committed
Rename to follow naming convention
1 parent d6acd94 commit 0955866

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/DefaultViewFolderEntryPoint.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import dev.zacsweers.metro.AppScope
1414
import dev.zacsweers.metro.ContributesBinding
1515
import dev.zacsweers.metro.Inject
1616
import io.element.android.features.viewfolder.api.ViewFolderEntryPoint
17-
import io.element.android.features.viewfolder.impl.root.ViewFolderRootNode
17+
import io.element.android.features.viewfolder.impl.root.ViewFolderFlowNode
1818
import io.element.android.libraries.architecture.createNode
1919

2020
@ContributesBinding(AppScope::class)
@@ -25,7 +25,7 @@ class DefaultViewFolderEntryPoint : ViewFolderEntryPoint {
2525

2626
return object : ViewFolderEntryPoint.NodeBuilder {
2727
override fun params(params: ViewFolderEntryPoint.Params): ViewFolderEntryPoint.NodeBuilder {
28-
plugins += ViewFolderRootNode.Inputs(params.rootPath)
28+
plugins += ViewFolderFlowNode.Inputs(params.rootPath)
2929
return this
3030
}
3131

@@ -35,7 +35,7 @@ class DefaultViewFolderEntryPoint : ViewFolderEntryPoint {
3535
}
3636

3737
override fun build(): Node {
38-
return parentNode.createNode<ViewFolderRootNode>(buildContext, plugins)
38+
return parentNode.createNode<ViewFolderFlowNode>(buildContext, plugins)
3939
}
4040
}
4141
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ import kotlinx.parcelize.Parcelize
3434

3535
@ContributesNode(AppScope::class)
3636
@Inject
37-
class ViewFolderRootNode(
37+
class ViewFolderFlowNode(
3838
@Assisted buildContext: BuildContext,
3939
@Assisted plugins: List<Plugin>,
40-
) : BaseFlowNode<ViewFolderRootNode.NavTarget>(
40+
) : BaseFlowNode<ViewFolderFlowNode.NavTarget>(
4141
backstack = BackStack(
4242
initialElement = NavTarget.Root,
4343
savedStateMap = buildContext.savedStateMap,

0 commit comments

Comments
 (0)