mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2024-12-15 17:58:33 +01:00
adding some spacing
This commit is contained in:
parent
aae9f1ea2f
commit
2cfd00a671
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user