From 987929dea2bb8c09dd9183cb821b81b5e1c01f41 Mon Sep 17 00:00:00 2001 From: Saptak Manna Date: Sun, 23 Jun 2024 22:44:27 +0530 Subject: [PATCH] Fix minor warnings --- .../app/home/classroomlist/ClassroomSummaryViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {