mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-08 03:24:03 +08:00
Fix spotless
This commit is contained in:
@@ -77,13 +77,15 @@ public fun PageCurl(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (updatedCurrent < state.max) {
|
if (updatedCurrent < state.max) {
|
||||||
Box(Modifier.drawCurl(config, internalState.forward.value.top, internalState.forward.value.bottom)) {
|
val forward = internalState.forward.value
|
||||||
|
Box(Modifier.drawCurl(config, forward.top, forward.bottom)) {
|
||||||
content(updatedCurrent)
|
content(updatedCurrent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updatedCurrent > 0) {
|
if (updatedCurrent > 0) {
|
||||||
Box(Modifier.drawCurl(config, internalState.backward.value.top, internalState.backward.value.bottom)) {
|
val backward = internalState.backward.value
|
||||||
|
Box(Modifier.drawCurl(config, backward.top, backward.bottom)) {
|
||||||
content(updatedCurrent - 1)
|
content(updatedCurrent - 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user