#30 go back when timer is saved
This commit is contained in:
		
							parent
							
								
									bd48a12d52
								
							
						
					
					
						commit
						853a09866a
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -21,8 +21,9 @@ class TimerEditViewModel @Inject constructor( | |||
|         return timerInfo | ||||
|     } | ||||
| 
 | ||||
|     fun saveTimer(timerInfo: TimerInfo) { | ||||
|     fun saveTimer(timerInfo: TimerInfo, goBack: () -> Unit) { | ||||
|         timerDAO.updateTimer(timerInfo) | ||||
|         goBack() | ||||
|     } | ||||
| 
 | ||||
| } | ||||
		Reference in a new issue
	
	 lbarraga
						lbarraga