From abd793fc70de8cb93765df64415bd12681fb2cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20de=20Souza?= Date: Tue, 2 Apr 2024 16:49:18 +0200 Subject: [PATCH] Use correct default values in `ClockContentPreview` --- CHANGELOG.md | 1 + app/src/main/kotlin/ui/ClockContent.kt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bf6f33..51f7952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Add `currentTime` variable to decrease code repetitions - Rename `CallbackCaller` to `CallbackHandler` +- Use correct default values in `ClockContentPreview` - Improve format of CHANGELOG.md ### [1.8.0](https://github.com/ldeso/blitz/releases/tag/v1.8.0) (2024-04-02) diff --git a/app/src/main/kotlin/ui/ClockContent.kt b/app/src/main/kotlin/ui/ClockContent.kt index 563eb36..e96c9ef 100644 --- a/app/src/main/kotlin/ui/ClockContent.kt +++ b/app/src/main/kotlin/ui/ClockContent.kt @@ -145,8 +145,8 @@ fun ClockContent( @Composable private fun ClockContentPreview() { ClockContent( - whiteTimeProvider = { 5L * 60_000L }, - blackTimeProvider = { 3L * 1_000L }, + whiteTimeProvider = { 5L * 60_000L + 3L * 1_000L }, + blackTimeProvider = { 5L * 60_000L + 3L * 1_000L }, clockStateProvider = { ClockState.FULL_RESET }, playerStateProvider = { PlayerState.WHITE }, leaningSideProvider = { LeaningSide.RIGHT },