sessionreport now has the id of the task
This commit is contained in:
		
							parent
							
								
									1eff33a6db
								
							
						
					
					
						commit
						45f28592ab
					
				
					 3 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ class SessionViewModel @Inject constructor(
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    fun endSession(openAndPopUp: (String, String) -> Unit) {
 | 
			
		||||
        sessionReportState.sessionReport = getTimer().getSessionReport()
 | 
			
		||||
        sessionReportState.sessionReport = getTimer().getSessionReport(task.id)
 | 
			
		||||
        openAndPopUp(StudeezDestinations.SESSION_RECAP, StudeezDestinations.SESSION_SCREEN)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in a new issue