We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85cf2aa + 3d61f9d commit 10c60f2Copy full SHA for 10c60f2
1 file changed
app/src/main/java/com/getcode/view/main/bill/CashBill.kt
@@ -212,7 +212,7 @@ private class CashBillGeometry(width: Dp, height: Dp) {
212
val wavesPosition: Offset
213
get() = Offset(
214
x = (size.width.value * 0.5f),
215
- y = topStripHeight.value + securityStripSize.height.value + securityStripPosition.y.value
+ y = (size.height.value * 0.5f)
216
)
217
218
init {
@@ -293,11 +293,12 @@ internal fun CashBill(
293
Image(
294
modifier = Modifier
295
.requiredWidth(geometry.globeWidth)
296
- .fillMaxHeight()
+ .align(Alignment.BottomCenter)
297
+ .height(geometry.wavesPosition.y.dp)
298
.offset {
299
IntOffset(
300
x = geometry.wavesPosition.x.toInt(),
- y = geometry.wavesPosition.y.toInt(),
301
+ y = 0
302
303
},
304
contentDescription = null,
0 commit comments