From 448911da545a48321730a880e53f64fd302de743 Mon Sep 17 00:00:00 2001 From: Tamas Kozmer Date: Fri, 10 May 2024 10:55:01 +0200 Subject: [PATCH 1/2] Updated version. --- apps/teacher/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/teacher/build.gradle b/apps/teacher/build.gradle index 98611fae43..2b75908fae 100644 --- a/apps/teacher/build.gradle +++ b/apps/teacher/build.gradle @@ -39,8 +39,8 @@ android { defaultConfig { minSdkVersion Versions.MIN_SDK targetSdkVersion Versions.TARGET_SDK - versionCode = 65 - versionName = '1.30.0' + versionCode = 66 + versionName = '1.30.1' vectorDrawables.useSupportLibrary = true multiDexEnabled true testInstrumentationRunner 'com.instructure.teacher.ui.espresso.TeacherHiltTestRunner' From acc6285fe08168841df939854b0b0f9fa87f1dad Mon Sep 17 00:00:00 2001 From: Tamas Kozmer <72397075+tamaskozmer@users.noreply.github.com> Date: Mon, 6 May 2024 14:12:14 +0200 Subject: [PATCH 2/2] [MBL-17546][Teacher] Submission list crash #2438 refs: MBL-17546 affects: Teacher release note: Fixed a crash when opening a student profile from the submission list. (cherry picked from commit 183f0dfbd5360a09b944ac03c24f2874f877d32d) --- .../teacher/holders/GradeableStudentSubmissionViewHolder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/teacher/src/main/java/com/instructure/teacher/holders/GradeableStudentSubmissionViewHolder.kt b/apps/teacher/src/main/java/com/instructure/teacher/holders/GradeableStudentSubmissionViewHolder.kt index a303e8eee0..773ae58cd9 100644 --- a/apps/teacher/src/main/java/com/instructure/teacher/holders/GradeableStudentSubmissionViewHolder.kt +++ b/apps/teacher/src/main/java/com/instructure/teacher/holders/GradeableStudentSubmissionViewHolder.kt @@ -74,7 +74,7 @@ class GradeableStudentSubmissionViewHolder(private val binding: AdapterGradeable studentAvatar.setupAvatarA11y(assignee.name) studentAvatar.onClick { val bundle = StudentContextFragment.makeBundle(assignee.id, courseId) - RouteMatcher.route(context as FragmentActivity, Route(StudentContextFragment::class.java, null, bundle)) + RouteMatcher.route(context.getFragmentActivity(), Route(StudentContextFragment::class.java, null, bundle)) } } assignee is GroupAssignee -> {