mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Remove unused NavTarget.Empty
This commit is contained in:
-7
@@ -15,7 +15,6 @@ import androidx.lifecycle.lifecycleScope
|
|||||||
import com.bumble.appyx.core.lifecycle.subscribe
|
import com.bumble.appyx.core.lifecycle.subscribe
|
||||||
import com.bumble.appyx.core.modality.BuildContext
|
import com.bumble.appyx.core.modality.BuildContext
|
||||||
import com.bumble.appyx.core.node.Node
|
import com.bumble.appyx.core.node.Node
|
||||||
import com.bumble.appyx.core.node.node
|
|
||||||
import com.bumble.appyx.core.plugin.Plugin
|
import com.bumble.appyx.core.plugin.Plugin
|
||||||
import com.bumble.appyx.core.plugin.plugins
|
import com.bumble.appyx.core.plugin.plugins
|
||||||
import com.bumble.appyx.navmodel.backstack.BackStack
|
import com.bumble.appyx.navmodel.backstack.BackStack
|
||||||
@@ -126,9 +125,6 @@ class MessagesFlowNode(
|
|||||||
plugins = plugins
|
plugins = plugins
|
||||||
) {
|
) {
|
||||||
sealed interface NavTarget : Parcelable {
|
sealed interface NavTarget : Parcelable {
|
||||||
@Parcelize
|
|
||||||
data object Empty : NavTarget
|
|
||||||
|
|
||||||
@Parcelize
|
@Parcelize
|
||||||
data class Messages(val focusedEventId: EventId?) : NavTarget
|
data class Messages(val focusedEventId: EventId?) : NavTarget
|
||||||
|
|
||||||
@@ -399,9 +395,6 @@ class MessagesFlowNode(
|
|||||||
}
|
}
|
||||||
createNode<PinnedMessagesListNode>(buildContext, plugins = listOf(callback))
|
createNode<PinnedMessagesListNode>(buildContext, plugins = listOf(callback))
|
||||||
}
|
}
|
||||||
NavTarget.Empty -> {
|
|
||||||
node(buildContext) {}
|
|
||||||
}
|
|
||||||
NavTarget.KnockRequestsList -> {
|
NavTarget.KnockRequestsList -> {
|
||||||
knockRequestsListEntryPoint.createNode(this, buildContext)
|
knockRequestsListEntryPoint.createNode(this, buildContext)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user