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 | @Composable | ||||||
| fun Timer( | fun Timer( | ||||||
|     sessionActions: SessionActions, |     sessionActions: SessionActions, | ||||||
|  |     callMediaPlayer: () -> Unit, | ||||||
|     motivationString: @Composable () -> String, |     motivationString: @Composable () -> String, | ||||||
|     MidSection: @Composable () -> Int |     MidSection: @Composable () -> Int | ||||||
| ) { | ) { | ||||||
|  | @ -30,7 +31,7 @@ fun Timer( | ||||||
|     LaunchedEffect(tikker) { |     LaunchedEffect(tikker) { | ||||||
|         delay(1.seconds) |         delay(1.seconds) | ||||||
|         sessionActions.getTimer().tick() |         sessionActions.getTimer().tick() | ||||||
|         // callMediaPlayer() TODO |         callMediaPlayer() | ||||||
|         tikker = !tikker |         tikker = !tikker | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 lbarraga
						lbarraga