@@ -138,7 +138,9 @@ fun TimerScreen(
|
|||||||
targetOffsetY = { (it * 1.25).toInt() }
|
targetOffsetY = { (it * 1.25).toInt() }
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
},
|
||||||
|
contentAlignment = Alignment.Center,
|
||||||
|
modifier = Modifier.fillMaxWidth()
|
||||||
) {
|
) {
|
||||||
when (it) {
|
when (it) {
|
||||||
TimerMode.BRAND ->
|
TimerMode.BRAND ->
|
||||||
@@ -150,8 +152,7 @@ fun TimerScreen(
|
|||||||
lineHeight = 32.sp,
|
lineHeight = 32.sp,
|
||||||
color = colorScheme.error
|
color = colorScheme.error
|
||||||
),
|
),
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center
|
||||||
modifier = Modifier.width(210.dp)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
TimerMode.FOCUS ->
|
TimerMode.FOCUS ->
|
||||||
@@ -163,8 +164,7 @@ fun TimerScreen(
|
|||||||
lineHeight = 32.sp,
|
lineHeight = 32.sp,
|
||||||
color = colorScheme.primary
|
color = colorScheme.primary
|
||||||
),
|
),
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center
|
||||||
modifier = Modifier.width(210.dp)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
TimerMode.SHORT_BREAK -> Text(
|
TimerMode.SHORT_BREAK -> Text(
|
||||||
@@ -175,8 +175,7 @@ fun TimerScreen(
|
|||||||
lineHeight = 32.sp,
|
lineHeight = 32.sp,
|
||||||
color = colorScheme.tertiary
|
color = colorScheme.tertiary
|
||||||
),
|
),
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center
|
||||||
modifier = Modifier.width(210.dp)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
TimerMode.LONG_BREAK -> Text(
|
TimerMode.LONG_BREAK -> Text(
|
||||||
@@ -187,8 +186,7 @@ fun TimerScreen(
|
|||||||
lineHeight = 32.sp,
|
lineHeight = 32.sp,
|
||||||
color = colorScheme.tertiary
|
color = colorScheme.tertiary
|
||||||
),
|
),
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center
|
||||||
modifier = Modifier.width(210.dp)
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user