Skip to content

Commit

Permalink
Use correct default values in ClockContentPreview
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Apr 2, 2024
1 parent cff2a76 commit abd793f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/kotlin/ui/ClockContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit abd793f

Please sign in to comment.