subject id and taskid as parameters for getSessionReport
This commit is contained in:
		
							parent
							
								
									4728755c5e
								
							
						
					
					
						commit
						49835108f3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ class SessionViewModel @Inject constructor(
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    fun endSession(openAndPopUp: (String, String) -> Unit) {
 | 
			
		||||
        sessionReportState.sessionReport = getTimer().getSessionReport(task.id)
 | 
			
		||||
        sessionReportState.sessionReport = getTimer().getSessionReport(task.subjectId, task.id)
 | 
			
		||||
        openAndPopUp(StudeezDestinations.SESSION_RECAP, StudeezDestinations.SESSION_SCREEN)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in a new issue