adding some spacing

This commit is contained in:
Tibor Kaputa 2022-06-16 10:17:09 +02:00 committed by GitHub
parent aae9f1ea2f
commit 2cfd00a671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,11 @@ class AlarmFragment : Fragment(), ToggleAlarmInterface {
when (requireContext().config.alarmSort) {
SORT_BY_ALARM_TIME -> alarms.sortBy { it.timeInMinutes }
SORT_BY_DATE_CREATED -> alarms.sortBy { it.id }
SORT_BY_DATE_AND_TIME -> alarms.sortWith(compareBy<Alarm> { requireContext().firstDayOrder(it.days) }.thenBy { it.timeInMinutes })
SORT_BY_DATE_AND_TIME -> alarms.sortWith(compareBy<Alarm> {
requireContext().firstDayOrder(it.days)
}.thenBy {
it.timeInMinutes
})
}
if (context?.getNextAlarm()?.isEmpty() == true) {