Skip to content

Commit

Permalink
Remove pivotOffsets
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Sep 17, 2023
1 parent b39ff24 commit 4d01336
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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,
Expand All @@ -47,7 +45,6 @@ fun CardRow(

TvLazyRow(
modifier = Modifier.fillMaxWidth(),
pivotOffsets = PivotOffsets(0.1f),
contentPadding = PaddingValues(
vertical = 16.dp,
horizontal = 48.dp,
Expand Down

0 comments on commit 4d01336

Please sign in to comment.