Skip to content

Commit

Permalink
Rename CallbackCaller to CallbackHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Apr 2, 2024
1 parent 8489413 commit cff2a76
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 @@ -5,6 +5,7 @@
#### Notes

- Add `currentTime` variable to decrease code repetitions
- Rename `CallbackCaller` to `CallbackHandler`
- 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/ClockScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fun ClockScreen(
}
var backEventAction by remember { mutableStateOf(ClockBackAction.PAUSE) }

CallbackCaller(
CallbackHandler(
clockStateProvider = { clockState },
onClockStart = onClockStart,
onClockStop = onClockStop,
Expand Down Expand Up @@ -150,7 +150,7 @@ fun ClockScreen(
* state of the clock returned by [clockStateProvider].
*/
@Composable
private fun CallbackCaller(
private fun CallbackHandler(
clockStateProvider: () -> ClockState,
onClockStart: () -> Unit,
onClockStop: () -> Unit,
Expand Down

0 comments on commit cff2a76

Please sign in to comment.