File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
build-logic/src/main/kotlin/com/ninecraft/booket/convention
feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/step Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ internal object ApplicationConstants {
77 const val TARGET_SDK = 35
88 const val COMPILE_SDK = 35
99 const val VERSION_CODE = 1
10- const val VERSION_NAME = " 1.0"
10+ const val VERSION_NAME = " 1.0.0 "
1111 const val JAVA_VERSION_INT = 17
1212 val javaVersion = JavaVersion .VERSION_17
1313}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import androidx.compose.foundation.lazy.items
1616import androidx.compose.foundation.shape.RoundedCornerShape
1717import androidx.compose.material3.Text
1818import androidx.compose.runtime.Composable
19+ import androidx.compose.runtime.remember
1920import androidx.compose.ui.Alignment
2021import androidx.compose.ui.Modifier
2122import androidx.compose.ui.draw.clip
@@ -42,6 +43,8 @@ fun EmotionStep(
4243 state : RecordRegisterUiState ,
4344 modifier : Modifier = Modifier ,
4445) {
46+ val emotionPairs = remember(state.emotionTags) { state.emotionTags.chunked(2 ) }
47+
4548 Box (
4649 modifier = modifier
4750 .fillMaxSize()
@@ -74,7 +77,6 @@ fun EmotionStep(
7477 Spacer (modifier = Modifier .height(ReedTheme .spacing.spacing10))
7578 }
7679
77- val emotionPairs = state.emotionTags.chunked(2 )
7880 items(emotionPairs) { pair ->
7981 Row (
8082 modifier = Modifier .fillMaxWidth(),
You can’t perform that action at this time.
0 commit comments