Skip to content

Commit 7efb0e4

Browse files
committed
fix
1 parent 8adeee0 commit 7efb0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/dev/alllexey/itmowidgets/ui/sport/sign/SportSignViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class SportSignViewModel(private val myItmo: MyItmoApi, context: Context) : View
254254
}
255255

256256
val displayedLessons = (todayRealLessons + phantomLessons).sortedWith(
257-
compareBy<SportLessonData> { it.apiData.signed || it.autoSignStatus != null || it.freeSignStatus != null }
257+
compareBy<SportLessonData> { !(it.apiData.signed || it.autoSignStatus != null || it.freeSignStatus != null) }
258258
.thenBy { it.apiData.date }
259259
.thenBy { it.apiData.sectionName }
260260
)

0 commit comments

Comments
 (0)