File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
feature/record/src/main/kotlin/com/ninecraft/booket/feature/record Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ class RecordRegisterPresenter(
9393 var currentStep by rememberRetained { mutableStateOf(RecordStep .QUOTE ) }
9494 val recordPageState = rememberTextFieldState()
9595 val recordSentenceState = rememberTextFieldState()
96+ val memoState = rememberTextFieldState()
9697 val emotions by rememberRetained { mutableStateOf(Emotion .entries.toPersistentList()) }
9798 var emotionDetails by rememberRetained { mutableStateOf(persistentListOf<String >()) }
9899 var selectedEmotion by rememberRetained { mutableStateOf<Emotion ?>(null ) }
@@ -375,6 +376,7 @@ class RecordRegisterPresenter(
375376 currentStep = currentStep,
376377 recordPageState = recordPageState,
377378 recordSentenceState = recordSentenceState,
379+ memoState = memoState,
378380 isPageError = isPageError,
379381 emotions = emotions,
380382 emotionDetails = emotionDetails,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ data class RecordRegisterUiState(
1616 val recordPageState : TextFieldState = TextFieldState (),
1717 val recordSentenceState : TextFieldState = TextFieldState (),
1818 val isPageError : Boolean = false ,
19+ val memoState : TextFieldState = TextFieldState (),
1920 val emotions : ImmutableList <Emotion > = persistentListOf(),
2021 val emotionDetails : ImmutableList <String > = persistentListOf(),
2122 val selectedEmotion : Emotion ? = null ,
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ internal fun QuoteStepV2(
198198 }
199199 Spacer (modifier = Modifier .height(ReedTheme .spacing.spacing2))
200200 ReedRecordTextField (
201- recordState = state.impressionState ,
201+ recordState = state.memoState ,
202202 recordHintRes = R .string.quote_step_memo_hint,
203203 modifier = Modifier
204204 .fillMaxWidth()
You can’t perform that action at this time.
0 commit comments