Skip to content

Commit e39d7c0

Browse files
committed
update: [MiuixPopupUtil] Format code
1 parent 9b69c45 commit e39d7c0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/utils/MiuixPopupUtil.kt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ class MiuixPopupUtil {
117117
modifier = Modifier.zIndex(2f).fillMaxSize(),
118118
enter = if (largeScreen.invoke().value) {
119119
fadeIn(
120-
animationSpec = spring(0.9f, 900f),
120+
animationSpec = spring(0.9f, 900f)
121121
) + scaleIn(
122122
initialScale = 0.8f,
123-
animationSpec = spring(0.73f, 900f),
123+
animationSpec = spring(0.73f, 900f)
124124
)
125125
} else {
126126
slideInVertically(
@@ -130,18 +130,15 @@ class MiuixPopupUtil {
130130
},
131131
exit = if (largeScreen.invoke().value) {
132132
fadeOut(
133-
animationSpec = tween(200, easing = DecelerateEasing(1.5f)
134-
)
133+
animationSpec = tween(200, easing = DecelerateEasing(1.5f))
135134
) + scaleOut(
136135
targetScale = 0.8f,
137-
animationSpec = tween(200, easing = DecelerateEasing(1.5f)
138-
)
136+
animationSpec = tween(200, easing = DecelerateEasing(1.5f))
139137
)
140138
} else {
141139
slideOutVertically(
142140
targetOffsetY = { fullHeight -> fullHeight },
143-
animationSpec = tween(200, easing = DecelerateEasing(1.5f)
144-
)
141+
animationSpec = tween(200, easing = DecelerateEasing(1.5f))
145142
)
146143
}
147144
) {

0 commit comments

Comments
 (0)