Skip to content

Commit

Permalink
Move digital clock a bit down
Browse files Browse the repository at this point in the history
  • Loading branch information
MM2-0 committed May 29, 2022
1 parent 6fdf67a commit 912f38c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 912f38c

Please sign in to comment.