refactor: clenup

This commit is contained in:
2026-09-03 20:54:44 +03:00
parent 32f93197ab
commit 1fc43bb8fc
2 changed files with 7 additions and 3 deletions
@@ -81,7 +81,7 @@ class ScheduleViewModel(
val dayDate = when {
weekDays.any { it.date == current.dayDate } -> current.dayDate
weekDays.any { it.date == todayDate && todayDate != null } -> todayDate
weekDays.any { it.date == todayDate } -> todayDate
else -> weekDays.firstOrNull()?.date
}