sessionreport now has the id of the task

This commit is contained in:
lbarraga 2023-05-07 10:08:02 +02:00
parent 1eff33a6db
commit 45f28592ab
3 changed files with 7 additions and 4 deletions

View file

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