Skip to content

Commit

Permalink
[CHORE/#15] 말풍선 에셋을 png 로 교체
Browse files Browse the repository at this point in the history
  • Loading branch information
DongChyeon committed Jan 21, 2025
1 parent d699f0f commit 3ccd920
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 77 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

16 changes: 7 additions & 9 deletions feature/home/src/main/java/com/yapp/home/HomeScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,16 @@ private fun HomeCharacterAnimation(
modifier: Modifier = Modifier,
fortuneScore: Int,
) {
val (balloonRes, starRes) = when (fortuneScore) {
val (bubbleRes, starRes) = when (fortuneScore) {
in 0..49 -> {
Pair(
core.designsystem.R.drawable.ic_fortune_0_to_49_speech_ballon,
core.designsystem.R.drawable.ic_fortune_0_to_49_speech_bubble,
core.designsystem.R.raw.fortune_0_to_49,
)
}
in 50..79 -> {
Pair(
core.designsystem.R.drawable.ic_fortune_50_to_79_speech_ballon,
core.designsystem.R.drawable.ic_fortune_50_to_79_speech_bubble,
core.designsystem.R.raw.fortune_50_to_79,
)
}
Expand All @@ -273,7 +273,7 @@ private fun HomeCharacterAnimation(

else -> {
Pair(
core.designsystem.R.drawable.ic_fortune_preload_speech_ballon,
core.designsystem.R.drawable.ic_fortune_preload_speech_bubble,
core.designsystem.R.raw.fortune_preload,
)
}
Expand All @@ -283,10 +283,9 @@ private fun HomeCharacterAnimation(
modifier = modifier,
horizontalAlignment = Alignment.CenterHorizontally,
) {
Icon(
painter = painterResource(id = balloonRes),
Image(
painter = painterResource(id = bubbleRes),
contentDescription = "IMG_MAIN_SPEECH_BUBBLE",
tint = Color.Unspecified,
)
Spacer(modifier = Modifier.height(16.dp))
LottieAnimation(
Expand Down Expand Up @@ -315,12 +314,11 @@ private fun HomeAlarmEmptyScreen(

Spacer(modifier = Modifier.heightForScreenPercentage(0.13f))

Icon(
Image(
painter = painterResource(
id = core.designsystem.R.drawable.ic_no_alarm_speech_bubble,
),
contentDescription = "IMG_MAIN_SPEECH_BUBBLE",
tint = Color.Unspecified,
)
Image(
painter = painterResource(
Expand Down

0 comments on commit 3ccd920

Please sign in to comment.