subject id and taskid as parameters for getSessionReport

This commit is contained in:
lbarraga 2023-05-07 14:05:43 +02:00
parent 4728755c5e
commit 49835108f3

View file

@ -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)
}
}