You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/designsystem/src/main/kotlin/com/google/samples/apps/nowinandroid/core/designsystem/component/Navigation.kt
Copy file name to clipboardExpand all lines: core/designsystem/src/main/kotlin/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/AppScrollbars.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -75,10 +75,10 @@ private const val SCROLLBAR_INACTIVE_TO_DORMANT_TIME_IN_MS = 2_000L
75
75
*/
76
76
@Composable
77
77
fun ScrollableState.DraggableScrollbar(
78
-
modifier:Modifier = Modifier,
79
78
state:ScrollbarState,
80
79
orientation:Orientation,
81
80
onThumbMoved: (Float) ->Unit,
81
+
modifier:Modifier = Modifier,
82
82
) {
83
83
val interactionSource = remember { MutableInteractionSource() }
84
84
Scrollbar(
@@ -105,9 +105,9 @@ fun ScrollableState.DraggableScrollbar(
105
105
*/
106
106
@Composable
107
107
fun ScrollableState.DecorativeScrollbar(
108
-
modifier:Modifier = Modifier,
109
108
state:ScrollbarState,
110
109
orientation:Orientation,
110
+
modifier:Modifier = Modifier,
111
111
) {
112
112
val interactionSource = remember { MutableInteractionSource() }
Copy file name to clipboardExpand all lines: core/designsystem/src/main/kotlin/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -195,13 +195,13 @@ internal fun Orientation.valueOf(intOffset: IntOffset) = when (this) {
0 commit comments