Skip to content

Commit abf8e00

Browse files
committed
[feature/#30] 주석제거
1 parent 6476a95 commit abf8e00

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Binary file not shown.

feature/result/src/commonMain/kotlin/com/nexters/emotia/feature/result/ResultScreen.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ import androidx.compose.foundation.interaction.MutableInteractionSource
1010
import androidx.compose.foundation.layout.Arrangement
1111
import androidx.compose.foundation.layout.Box
1212
import androidx.compose.foundation.layout.Column
13+
import androidx.compose.foundation.layout.Spacer
1314
import androidx.compose.foundation.layout.fillMaxHeight
1415
import androidx.compose.foundation.layout.fillMaxSize
16+
import androidx.compose.foundation.layout.height
1517
import androidx.compose.foundation.layout.size
1618
import androidx.compose.foundation.shape.RoundedCornerShape
1719
import androidx.compose.runtime.Composable
@@ -53,13 +55,11 @@ fun ResultScreen(
5355
) {
5456
val uiState by viewModel.collectAsState()
5557

56-
// ViewModel 초기화
5758
LaunchedEffect(fairyId, fairyName, fairyImage) {
5859
viewModel.handleIntent(ResultIntent.InitializeFairy(fairyId, fairyName, fairyImage))
5960
viewModel.handleIntent(ResultIntent.StartExpandAnimation)
6061
}
6162

62-
// SideEffect 처리
6363
viewModel.collectSideEffect { sideEffect ->
6464
when (sideEffect) {
6565
is ResultSideEffect.NavigateToOnBoarding -> onNavigateToOnBoarding()
@@ -70,7 +70,6 @@ fun ResultScreen(
7070
}
7171
}
7272

73-
// 원 반지름 애니메이션 (0에서 큰 값으로 확장)
7473
val animatedRadius by animateFloatAsState(
7574
targetValue = if (uiState.isExpanding) 2000f else 0f,
7675
animationSpec = tween(
@@ -91,7 +90,6 @@ fun ResultScreen(
9190
contentScale = ContentScale.Crop
9291
)
9392

94-
// 요정 이미지만 중앙에 표시
9593
Column(
9694
modifier = Modifier.fillMaxSize(),
9795
horizontalAlignment = Alignment.CenterHorizontally,
@@ -111,9 +109,10 @@ fun ResultScreen(
111109
// TODO : 에러 이미지 처리
112110
},
113111
)
112+
113+
Spacer(Modifier.height(50.dp))
114114
}
115115

116-
// 확장 애니메이션 오버레이 - 원 내부는 투명, 외부는 검정색
117116
if (animatedRadius < 1800f) {
118117
Canvas(
119118
modifier = Modifier

0 commit comments

Comments
 (0)