diff --git a/experimental/examples/imageviewer/shared/src/androidMain/kotlin/example/imageviewer/view/ScrollableColumn.android.kt b/experimental/examples/imageviewer/shared/src/androidMain/kotlin/example/imageviewer/view/ScrollableColumn.android.kt index 7ef544a39d..ec357481e5 100644 --- a/experimental/examples/imageviewer/shared/src/androidMain/kotlin/example/imageviewer/view/ScrollableColumn.android.kt +++ b/experimental/examples/imageviewer/shared/src/androidMain/kotlin/example/imageviewer/view/ScrollableColumn.android.kt @@ -4,5 +4,5 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier @Composable -actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) = +internal actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) = TouchScrollableColumn(modifier, content) diff --git a/experimental/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/view/ScrollableColumn.common.kt b/experimental/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/view/ScrollableColumn.common.kt index 58efdf94f5..a6770df26b 100644 --- a/experimental/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/view/ScrollableColumn.common.kt +++ b/experimental/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/view/ScrollableColumn.common.kt @@ -7,10 +7,10 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier @Composable -expect fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) +internal expect fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) @Composable -fun TouchScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) { +internal fun TouchScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) { val scrollState = rememberScrollState() Column(modifier.verticalScroll(scrollState)) { content() diff --git a/experimental/examples/imageviewer/shared/src/desktopMain/kotlin/example/imageviewer/view/ScrollableColumn.desktop.kt b/experimental/examples/imageviewer/shared/src/desktopMain/kotlin/example/imageviewer/view/ScrollableColumn.desktop.kt index 48d18135c4..d3a7f7961a 100644 --- a/experimental/examples/imageviewer/shared/src/desktopMain/kotlin/example/imageviewer/view/ScrollableColumn.desktop.kt +++ b/experimental/examples/imageviewer/shared/src/desktopMain/kotlin/example/imageviewer/view/ScrollableColumn.desktop.kt @@ -11,7 +11,7 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp @Composable -actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) { +internal actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) { val scrollState = rememberScrollState() Modifier.verticalScroll(scrollState) diff --git a/experimental/examples/imageviewer/shared/src/iosMain/kotlin/example/imageviewer/view/ScrollableColumn.ios.kt b/experimental/examples/imageviewer/shared/src/iosMain/kotlin/example/imageviewer/view/ScrollableColumn.ios.kt index 7ef544a39d..ec357481e5 100644 --- a/experimental/examples/imageviewer/shared/src/iosMain/kotlin/example/imageviewer/view/ScrollableColumn.ios.kt +++ b/experimental/examples/imageviewer/shared/src/iosMain/kotlin/example/imageviewer/view/ScrollableColumn.ios.kt @@ -4,5 +4,5 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier @Composable -actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) = +internal actual fun ScrollableColumn(modifier: Modifier, content: @Composable () -> Unit) = TouchScrollableColumn(modifier, content)