Put some modifiers in correct order to respect official API guidelines

pull/203/head
necati 2 years ago
parent 4a0fbf99b2
commit 7f5e32d899

@ -414,8 +414,8 @@ private fun SingleTopicButton(
@Composable
fun TopicIcon(
modifier: Modifier = Modifier,
imageUrl: String
imageUrl: String,
modifier: Modifier = Modifier
) {
AsyncImage(
// TODO b/228077205, show loading image visual instead of static placeholder

@ -49,9 +49,9 @@ import com.google.samples.apps.nowinandroid.core.ui.JankMetricDisposableEffect
@OptIn(ExperimentalLifecycleComposeApi::class)
@Composable
fun InterestsRoute(
modifier: Modifier = Modifier,
navigateToAuthor: (String) -> Unit,
navigateToTopic: (String) -> Unit,
modifier: Modifier = Modifier,
viewModel: InterestsViewModel = hiltViewModel()
) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle()

Loading…
Cancel
Save