From cc3c3b05b22685f7904f5695ef6768a73623bf99 Mon Sep 17 00:00:00 2001 From: jinukeu Date: Fri, 12 Jan 2024 12:53:07 +0900 Subject: [PATCH] chore: ktlint format --- .../core/ui/extension/AnimatedContentTransitionScope.kt | 6 ++++-- .../com/susu/feature/received/ledgeradd/LedgerAddScreen.kt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/ui/src/main/java/com/susu/core/ui/extension/AnimatedContentTransitionScope.kt b/core/ui/src/main/java/com/susu/core/ui/extension/AnimatedContentTransitionScope.kt index 67cc7f08..5705a09a 100644 --- a/core/ui/src/main/java/com/susu/core/ui/extension/AnimatedContentTransitionScope.kt +++ b/core/ui/src/main/java/com/susu/core/ui/extension/AnimatedContentTransitionScope.kt @@ -6,9 +6,11 @@ import androidx.compose.animation.core.tween import androidx.compose.animation.togetherWith fun AnimatedContentTransitionScope.susuDefaultAnimatedContentTransitionSpec(leftDirectionCondition: Boolean): ContentTransform { - val direction = if (leftDirectionCondition) + val direction = if (leftDirectionCondition) { AnimatedContentTransitionScope.SlideDirection.Left - else AnimatedContentTransitionScope.SlideDirection.Right + } else { + AnimatedContentTransitionScope.SlideDirection.Right + } return slideIntoContainer( towards = direction, animationSpec = tween(500), diff --git a/feature/received/src/main/java/com/susu/feature/received/ledgeradd/LedgerAddScreen.kt b/feature/received/src/main/java/com/susu/feature/received/ledgeradd/LedgerAddScreen.kt index 4103d173..0902138a 100644 --- a/feature/received/src/main/java/com/susu/feature/received/ledgeradd/LedgerAddScreen.kt +++ b/feature/received/src/main/java/com/susu/feature/received/ledgeradd/LedgerAddScreen.kt @@ -24,9 +24,9 @@ import com.susu.core.designsystem.component.button.SusuFilledButton import com.susu.core.designsystem.theme.SusuTheme import com.susu.core.ui.R import com.susu.core.ui.extension.susuDefaultAnimatedContentTransitionSpec +import com.susu.feature.received.ledgeradd.content.CategoryContent import com.susu.feature.received.ledgeradd.content.DateContent import com.susu.feature.received.ledgeradd.content.NameContent -import com.susu.feature.received.ledgeradd.content.CategoryContent enum class LedgerAddStep { CATEGORY,