Skip to content

Commit 13a5a0f

Browse files
committed
chore: increase mini cash bill bounds (200=>222)
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent acdd575 commit 13a5a0f

File tree

1 file changed

+4
-2
lines changed
  • apps/flipcash/shared/bills/src/main/kotlin/com/flipcash/app/bills

1 file changed

+4
-2
lines changed

apps/flipcash/shared/bills/src/main/kotlin/com/flipcash/app/bills/CashBill.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ private class CashBillGeometry(width: Dp, height: Dp) : Geometry(width, height)
261261
get() = size.width < 300.dp
262262

263263
private val isMini: Boolean
264-
get() = size.width < 200.dp
264+
get() = size.width < 222.dp
265265

266266
val mintFontSize: TextUnit
267267
@Composable get() = if (isCompressed) {
268268
if (isMini) {
269-
4.sp
269+
5.5.sp
270270
} else {
271271
7.sp
272272
}
@@ -316,6 +316,8 @@ internal fun CashBill(
316316
CashBillGeometry(maxWidth, maxHeight)
317317
}
318318

319+
println("geometry: ${geometry.size}")
320+
319321
// Hexagons
320322
BillDecorImage(
321323
modifier = Modifier

0 commit comments

Comments
 (0)