Skip to content

Commit fbb4f3b

Browse files
committed
Chore: ktlintFormat 적용
1 parent 9e369ad commit fbb4f3b

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

presentation/src/main/java/com/threegap/bitnagil/presentation/login/LoginScreen.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,24 +114,24 @@ private fun LoginScreen(
114114
.clickableWithoutRipple { onKakaoLoginClick() }
115115
.background(
116116
color = BitnagilTheme.colors.kakao,
117-
shape = RoundedCornerShape(12.dp)
117+
shape = RoundedCornerShape(12.dp),
118118
)
119119
.fillMaxWidth()
120120
.padding(vertical = 18.dp),
121-
contentAlignment = Alignment.Center
121+
contentAlignment = Alignment.Center,
122122

123123
) {
124124
Row(
125125
verticalAlignment = Alignment.CenterVertically,
126-
horizontalArrangement = Arrangement.spacedBy(8.dp)
126+
horizontalArrangement = Arrangement.spacedBy(8.dp),
127127
) {
128128
BitnagilIcon(
129129
id = R.drawable.ic_kakao_login,
130130
)
131131
Text(
132132
text = "카카오로 시작하기",
133133
color = BitnagilTheme.colors.black,
134-
style = BitnagilTheme.typography.button2
134+
style = BitnagilTheme.typography.button2,
135135
)
136136
}
137137
}

presentation/src/main/java/com/threegap/bitnagil/presentation/splash/SplashScreen.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ private fun SplashScreen(
5656
.fillMaxSize()
5757
.background(BitnagilTheme.colors.white),
5858
verticalArrangement = Arrangement.Center,
59-
horizontalAlignment = Alignment.CenterHorizontally
59+
horizontalAlignment = Alignment.CenterHorizontally,
6060
) {
6161
Box(
62-
contentAlignment = Alignment.Center
62+
contentAlignment = Alignment.Center,
6363
) {
6464
BitnagilLottieAnimation(
6565
lottieJson = R.raw.splash_lottie,
@@ -77,7 +77,7 @@ private fun SplashScreen(
7777
androidx.compose.animation.AnimatedVisibility(
7878
visible = showIcon,
7979
enter = fadeIn(animationSpec = tween(500)),
80-
modifier = Modifier.align(Alignment.BottomCenter)
80+
modifier = Modifier.align(Alignment.BottomCenter),
8181
) {
8282
BitnagilIcon(id = R.drawable.img_app_name)
8383
}

presentation/src/main/java/com/threegap/bitnagil/presentation/splash/SplashViewModel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import com.threegap.bitnagil.presentation.splash.model.SplashIntent
88
import com.threegap.bitnagil.presentation.splash.model.SplashSideEffect
99
import com.threegap.bitnagil.presentation.splash.model.SplashState
1010
import dagger.hilt.android.lifecycle.HiltViewModel
11-
import kotlinx.coroutines.async
1211
import kotlinx.coroutines.delay
1312
import kotlinx.coroutines.launch
1413
import org.orbitmvi.orbit.syntax.simple.SimpleSyntax
@@ -34,7 +33,6 @@ class SplashViewModel @Inject constructor(
3433
state: SplashState,
3534
): SplashState? =
3635
when (intent) {
37-
3836
is SplashIntent.SetTokenChecked -> {
3937
state.copy(isTokenChecked = intent.hasToken != null)
4038
}

presentation/src/main/java/com/threegap/bitnagil/presentation/splash/component/template/BitnagilLottieAnimation.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ fun BitnagilLottieAnimation(
3333
targetValue = if (lottieComposition != null) 1f else 0f,
3434
animationSpec = tween(
3535
durationMillis = 500,
36-
easing = FastOutSlowInEasing
36+
easing = FastOutSlowInEasing,
3737
),
38-
label = "lottieAlpha"
38+
label = "lottieAlpha",
3939
)
4040

4141
LaunchedEffect(lottieComposition) {
@@ -46,7 +46,7 @@ fun BitnagilLottieAnimation(
4646
clipSpec = LottieClipSpec.Frame(0, maxFrame),
4747
iterations = 1,
4848
ignoreSystemAnimationsDisabled = true,
49-
useCompositionFrameRate = true
49+
useCompositionFrameRate = true,
5050
)
5151
onComplete()
5252
}
@@ -56,7 +56,7 @@ fun BitnagilLottieAnimation(
5656
composition = lottieComposition,
5757
progress = { lottieAnimatable.progress },
5858
modifier = modifier.alpha(alpha),
59-
clipToCompositionBounds = false
59+
clipToCompositionBounds = false,
6060
)
6161
}
6262

@@ -67,6 +67,6 @@ private fun BitnagilLottieAnimationPreview() {
6767
lottieJson = R.raw.splash_lottie,
6868
maxFrame = 800,
6969
onComplete = {},
70-
modifier = Modifier.fillMaxSize()
70+
modifier = Modifier.fillMaxSize(),
7171
)
7272
}

0 commit comments

Comments
 (0)