diff --git a/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt b/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt index 4e2c41810..f53525e36 100644 --- a/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt +++ b/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt @@ -389,8 +389,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 diff --git a/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsScreen.kt b/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsScreen.kt index 31ca66db5..06d5c8e9f 100644 --- a/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsScreen.kt +++ b/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsScreen.kt @@ -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()