Skip to content

Commit

Permalink
Removed unused deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov committed Dec 3, 2023
1 parent 0d502dc commit d925d11
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 317 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fun <C : Any, T : Any, E : Any, N, S : Any> ComponentContext.children(
* Initialised and manages a generic list of components. This is an API for custom navigation models.
* Please consider the existing navigation models first:
* [Child Stack][com.arkivanov.decompose.router.stack.childStack],
* [Child Slot][com.arkivanov.decompose.router.overlay.childSlot].
* [Child Slot][com.arkivanov.decompose.router.slot.childSlot].
*
* The API is based around [NavState] and [ChildNavState] interfaces that should be implemented by
* clients. [NavState] represents a persistent state of the navigation. It also holds a navigation
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@ import androidx.compose.foundation.gestures.Orientation
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.layout

/**
* A simple sliding animation. Children enter from one side and exit to another side.
*/
@Deprecated(
message = "Please use the new slide StackAnimator with orientation specification",
level = DeprecationLevel.HIDDEN
)
fun slide(animationSpec: FiniteAnimationSpec<Float> = tween()): StackAnimator =
stackAnimator(animationSpec = animationSpec) { factor, _, content ->
content(Modifier.offsetXFactor(factor = factor))
}

/**
* A simple sliding animation. Children enter from one side and exit to another side.
*/
Expand Down

0 comments on commit d925d11

Please sign in to comment.