|
|
|
@ -33,14 +33,12 @@ import androidx.compose.runtime.Composable
|
|
|
|
|
import androidx.compose.ui.Alignment
|
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.compose.ui.graphics.Color
|
|
|
|
|
import androidx.compose.ui.platform.LocalView
|
|
|
|
|
import androidx.compose.ui.res.stringResource
|
|
|
|
|
import androidx.compose.ui.tooling.preview.Preview
|
|
|
|
|
import androidx.compose.ui.unit.Dp
|
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
|
import coil.compose.AsyncImage
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.ui.FollowButton
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.ui.addPerformanceMetricsState
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.ui.theme.NiaTheme
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.interests.R.string
|
|
|
|
|
|
|
|
|
@ -56,7 +54,6 @@ fun InterestsItem(
|
|
|
|
|
description: String = "",
|
|
|
|
|
itemSeparation: Dp = 16.dp
|
|
|
|
|
) {
|
|
|
|
|
LocalView.current.addPerformanceMetricsState("InterestItem", name)
|
|
|
|
|
Row(
|
|
|
|
|
verticalAlignment = Alignment.CenterVertically,
|
|
|
|
|
modifier = modifier
|
|
|
|
|