@@ -147,8 +147,13 @@ private fun CollectedSeedsHeader(
147147 Row (
148148 verticalAlignment = Alignment .CenterVertically ,
149149 ) {
150+ val emotionDisplayName = if (primaryEmotion.code == EmotionCode .OTHER ) {
151+ stringResource(R .string.collected_seed_other_emotion_name)
152+ } else {
153+ primaryEmotion.code.displayName
154+ }
150155 Text (
151- text = " '${primaryEmotion.code.displayName} '" ,
156+ text = " '$emotionDisplayName '" ,
152157 color = primaryEmotion.code.primaryEmotionColor,
153158 style = ReedTheme .typography.label1SemiBold,
154159 )
@@ -251,13 +256,13 @@ private fun CollectedSeedsCollapsedPreview() {
251256 ReedTheme {
252257 CollectedSeeds (
253258 seedsStats = persistentListOf(
254- EmotionModel (EmotionCode .WARMTH , 4 ),
259+ EmotionModel (EmotionCode .WARMTH , 2 ),
255260 EmotionModel (EmotionCode .JOY , 2 ),
256- EmotionModel (EmotionCode .SADNESS , 2 ),
261+ EmotionModel (EmotionCode .SADNESS , 4 ),
257262 EmotionModel (EmotionCode .INSIGHT , 2 ),
258263 EmotionModel (EmotionCode .OTHER , 2 ),
259264 ),
260- representativeEmotion = PrimaryEmotionModel (EmotionCode .WARMTH , " 따뜻함 " ),
265+ representativeEmotion = PrimaryEmotionModel (EmotionCode .SADNESS , " 슬픔 " ),
261266 isStatsExpanded = false ,
262267 onToggleClick = {},
263268 )
@@ -271,12 +276,12 @@ private fun CollectedSeedsExpandedPreview() {
271276 CollectedSeeds (
272277 seedsStats = persistentListOf(
273278 EmotionModel (EmotionCode .WARMTH , 2 ),
274- EmotionModel (EmotionCode .JOY , 4 ),
279+ EmotionModel (EmotionCode .JOY , 2 ),
275280 EmotionModel (EmotionCode .SADNESS , 2 ),
276281 EmotionModel (EmotionCode .INSIGHT , 2 ),
277- EmotionModel (EmotionCode .OTHER , 2 ),
282+ EmotionModel (EmotionCode .OTHER , 4 ),
278283 ),
279- representativeEmotion = PrimaryEmotionModel (EmotionCode .JOY , " 즐거움 " ),
284+ representativeEmotion = PrimaryEmotionModel (EmotionCode .OTHER , " 기타 " ),
280285 isStatsExpanded = true ,
281286 onToggleClick = {},
282287 )
0 commit comments