diff --git a/app/src/main/java/org/oppia/android/app/home/classroomlist/ClassroomSummaryViewModel.kt b/app/src/main/java/org/oppia/android/app/home/classroomlist/ClassroomSummaryViewModel.kt index cc6393d4ed9..20f0f1aba4d 100644 --- a/app/src/main/java/org/oppia/android/app/home/classroomlist/ClassroomSummaryViewModel.kt +++ b/app/src/main/java/org/oppia/android/app/home/classroomlist/ClassroomSummaryViewModel.kt @@ -15,10 +15,10 @@ class ClassroomSummaryViewModel( ) : HomeItemViewModel() { /** Click listener for [ClassroomSummary] items. */ - val classroomClickListener = classroomListViewModel as ClassroomSummaryClickListener + private val classroomClickListener = classroomListViewModel as ClassroomSummaryClickListener /** The [ClassroomSummary] retrieved from the [EphemeralClassroomSummary]. */ - val classroomSummary = ephemeralClassroomSummary.classroomSummary + val classroomSummary: ClassroomSummary = ephemeralClassroomSummary.classroomSummary /** Lazy-loaded title extracted using the [TranslationController]. */ val title: String by lazy {