Successfully modified file: /home/Messier82/projects/service-book/app/src/main/java/com/servicebook/ui/reportbug/ReportBugScreen.kt (1 replacements). Here is the updated code: ... ) { val state by viewModel.state.collectAsStateWithLifecycle() val context = LocalContext.current val snackbarHostState = remember { SnackbarHostState() } val scrollState = rememberScrollState() var showDeviceInfo by androidx.compose.runtime.rememberSaveable { androidx.compose.runtime.mutableStateOf(false) } val noEmailAppMessage = stringResource(R.string.report_bug_no_email_app) LaunchedEffect(Unit) { viewModel.effects.collect { effect -> when (effect) { is ReportBugEffect.ShowSnackbar -> snackbarHostState.showSnackbar(effect.message) ...