added callMediaPlayer call
This commit is contained in:
parent
8294d63e92
commit
53bdf7d215
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ import kotlin.time.Duration.Companion.seconds
|
|||
@Composable
|
||||
fun Timer(
|
||||
sessionActions: SessionActions,
|
||||
callMediaPlayer: () -> Unit,
|
||||
motivationString: @Composable () -> String,
|
||||
MidSection: @Composable () -> Int
|
||||
) {
|
||||
|
@ -30,7 +31,7 @@ fun Timer(
|
|||
LaunchedEffect(tikker) {
|
||||
delay(1.seconds)
|
||||
sessionActions.getTimer().tick()
|
||||
// callMediaPlayer() TODO
|
||||
callMediaPlayer()
|
||||
tikker = !tikker
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue