IMPORTANT: The file content has been truncated. Status: Showing lines 240-270 of 733 total lines. Action: To read more of the file, you can use the 'start_line' and 'end_line' parameters in a subsequent 'read_file' call. For example, to read the next section of the file, use start_line: 271. --- FILE CONTENT (truncated) --- showPaywallSheet = state.showPaywallSheet, isPremiumPending = state.isPremiumPending, onDismissPaywallSheet = { viewModel.onEvent(AddEditRecordEvent.DismissPaywallSheet) }, snackbarHostState = snackbarHostState, topBar = { TopAppBar( title = { Text( if (state.isEditMode) { stringResource(R.string.record_edit) } else { stringResource(R.string.record_add) }, modifier = Modifier.testTag(TestTags.SCREEN_TITLE), ) }, navigationIcon = { IconButton(onClick = { backStack.removeLastOrNull() }) { Icon( Icons.AutoMirrored.Outlined.ArrowBack, contentDescription = stringResource(R.string.action_back), ) } }, actions = { TextButton( onClick = { if (state.isReadOnly) { viewModel.onEvent(AddEditRecordEvent.BlockedWriteAttempted) } else { viewModel.onEvent(AddEditRecordEvent.Save)