Skip to content

Commit

Permalink
Move viewModel to param
Browse files Browse the repository at this point in the history
  • Loading branch information
mlykotom authored Dec 12, 2024
1 parent f4028b7 commit 343d020
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import com.google.android.samples.socialite.ui.navigation.TopLevelDestination
@Composable
fun Settings(
modifier: Modifier = Modifier,
viewModel: SettingsViewModel = hiltViewModel(),
) {
val viewModel: SettingsViewModel = hiltViewModel()
Scaffold(
modifier = modifier,
topBar = {
Expand Down

0 comments on commit 343d020

Please sign in to comment.