From 4d01336b10d4f6a1fd4aa55ab0e3756732645614 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 17 Sep 2023 11:33:15 +0200 Subject: [PATCH] Remove pivotOffsets --- .../kotlin/nl/ndat/tvlauncher/ui/component/row/CardRow.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/kotlin/nl/ndat/tvlauncher/ui/component/row/CardRow.kt b/app/src/main/kotlin/nl/ndat/tvlauncher/ui/component/row/CardRow.kt index 34ee983..8a1986f 100644 --- a/app/src/main/kotlin/nl/ndat/tvlauncher/ui/component/row/CardRow.kt +++ b/app/src/main/kotlin/nl/ndat/tvlauncher/ui/component/row/CardRow.kt @@ -1,6 +1,5 @@ package nl.ndat.tvlauncher.ui.component.row -import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.focusGroup import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column @@ -16,12 +15,11 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.focus.focusRestorer import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp -import androidx.tv.foundation.PivotOffsets import androidx.tv.foundation.lazy.list.TvLazyListScope import androidx.tv.foundation.lazy.list.TvLazyRow import nl.ndat.tvlauncher.ui.theme.NoRippleTheme -@OptIn(ExperimentalFoundationApi::class, ExperimentalComposeUiApi::class) +@OptIn(ExperimentalComposeUiApi::class) @Composable fun CardRow( title: String? = null, @@ -47,7 +45,6 @@ fun CardRow( TvLazyRow( modifier = Modifier.fillMaxWidth(), - pivotOffsets = PivotOffsets(0.1f), contentPadding = PaddingValues( vertical = 16.dp, horizontal = 48.dp,