Skip to content

Commit

Permalink
Fix classroom filtering logic for textproto
Browse files Browse the repository at this point in the history
  • Loading branch information
theMr17 committed Jun 24, 2024
1 parent 2e3d2f0 commit 3f02092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ClassroomController @Inject constructor(
createEphemeralClassroomSummary(classroomId, contentLocale)
}.filter { ephemeralClassroomSummary ->
ephemeralClassroomSummary.classroomSummary.topicSummaryList.any { topicSummary ->
topicSummary.topicPlayAvailability.availabilityCase != AVAILABLE_TO_PLAY_NOW
topicSummary.topicPlayAvailability.availabilityCase == AVAILABLE_TO_PLAY_NOW
}
}
)
Expand Down

0 comments on commit 3f02092

Please sign in to comment.