Move digital clock a bit down

This commit is contained in:
MM20 2022-05-29 16:58:43 +02:00
parent 6fdf67a4de
commit 912f38c64c
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -31,6 +31,7 @@ fun DigitalClock1(
Locale.getDefault()
)
Text(
modifier = Modifier.offset(0.dp, if (verticalLayout) 16.dp else 0.dp),
text = format.format(time),
style = MaterialTheme.typography.displayLarge.copy(
fontSize = if (verticalLayout) 100.sp else 48.sp,