Skip to content

Commit

Permalink
Remove deprecated components (#2038)
Browse files Browse the repository at this point in the history
* Remove deprecated components

---------

Co-authored-by: yschimke <[email protected]>
  • Loading branch information
yschimke and yschimke authored Feb 19, 2024
1 parent 9eb5ea3 commit 2416bf8
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1,093 deletions.
134 changes: 0 additions & 134 deletions compose-layout/api/current.api

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,6 @@ public class ScalingLazyColumnState(
public sealed interface RotaryMode {
public object Snap : RotaryMode
public object Scroll : RotaryMode

@Deprecated(
"Use RotaryMode.Scroll instead",
replaceWith = ReplaceWith("RotaryMode.Scroll"),
)
public object Fling : RotaryMode
}

public data class ScrollPosition(
Expand Down Expand Up @@ -164,7 +158,7 @@ public fun ScalingLazyColumn(
rotaryHaptics = rotaryHaptics,
)

RotaryMode.Scroll, RotaryMode.Fling -> modifier.rotaryWithScroll(
RotaryMode.Scroll -> modifier.rotaryWithScroll(
focusRequester = focusRequester,
scrollableState = columnState.state,
reverseDirection = columnState.reverseLayout,
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2416bf8

Please sign in to comment.