Skip to content

Commit 2571bbf

Browse files
committed
Remove unused NavTarget.Empty
1 parent 9f59db8 commit 2571bbf

File tree

1 file changed

+0
-7
lines changed
  • features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl

1 file changed

+0
-7
lines changed

features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesFlowNode.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import androidx.lifecycle.lifecycleScope
1515
import com.bumble.appyx.core.lifecycle.subscribe
1616
import com.bumble.appyx.core.modality.BuildContext
1717
import com.bumble.appyx.core.node.Node
18-
import com.bumble.appyx.core.node.node
1918
import com.bumble.appyx.core.plugin.Plugin
2019
import com.bumble.appyx.core.plugin.plugins
2120
import com.bumble.appyx.navmodel.backstack.BackStack
@@ -126,9 +125,6 @@ class MessagesFlowNode(
126125
plugins = plugins
127126
) {
128127
sealed interface NavTarget : Parcelable {
129-
@Parcelize
130-
data object Empty : NavTarget
131-
132128
@Parcelize
133129
data class Messages(val focusedEventId: EventId?) : NavTarget
134130

@@ -399,9 +395,6 @@ class MessagesFlowNode(
399395
}
400396
createNode<PinnedMessagesListNode>(buildContext, plugins = listOf(callback))
401397
}
402-
NavTarget.Empty -> {
403-
node(buildContext) {}
404-
}
405398
NavTarget.KnockRequestsList -> {
406399
knockRequestsListEntryPoint.createNode(this, buildContext)
407400
}

0 commit comments

Comments
 (0)