Skip to content

Commit

Permalink
[REFACTOR/#43] 불필요한 코드 삭제 및 약간의 scale 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonsuKang committed Jan 19, 2025
1 parent 84cab58 commit cfaecbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.wrapContentSize
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
Expand Down Expand Up @@ -47,6 +45,7 @@ fun OnboardingCompleteScreen1(
onBackClick = onBackClick,
showTopAppBar = true,
showTopAppBarActions = false,
buttonLabel = "다음",
) {
Column(modifier = Modifier.fillMaxSize()) {
Spacer(modifier = Modifier.heightForScreenPercentage(0.05f))
Expand All @@ -67,9 +66,8 @@ fun OnboardingCompleteScreen1(
textAlign = TextAlign.Center,
)
LottieAnimation(
modifier = Modifier.wrapContentSize(),
modifier = Modifier.fillMaxSize(),
resId = core.designsystem.R.raw.step2,
contentScale = ContentScale.FillWidth,
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fun OnboardingCompleteScreen2(
resId = core.designsystem.R.raw.step3,
contentScale = ContentScale.FillWidth,
scaleXAdjustment = 0.85f,
scaleYAdjustment = 0.95f,
scaleYAdjustment = 0.90f,
)
OrbitButton(
label = "시작하기",
Expand Down

0 comments on commit cfaecbf

Please sign in to comment.