mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
removing some empty lines at switch/case
This commit is contained in:
@@ -539,7 +539,6 @@ fun Context.getNewEventTimestampFromCode(dayCode: String, allowChangingDay: Bool
|
|||||||
val currMinutes = calendar.get(Calendar.MINUTE)
|
val currMinutes = calendar.get(Calendar.MINUTE)
|
||||||
dateTime.withMinuteOfHour(currMinutes).seconds()
|
dateTime.withMinuteOfHour(currMinutes).seconds()
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_START_TIME_NEXT_FULL_HOUR -> newDateTime.seconds()
|
DEFAULT_START_TIME_NEXT_FULL_HOUR -> newDateTime.seconds()
|
||||||
else -> {
|
else -> {
|
||||||
val hours = defaultStartTime / 60
|
val hours = defaultStartTime / 60
|
||||||
@@ -700,13 +699,11 @@ fun Context.handleEventDeleting(eventIds: List<Long>, timestamps: List<Long>, ac
|
|||||||
eventsHelper.addEventRepetitionException(value, timestamps[index], true)
|
eventsHelper.addEventRepetitionException(value, timestamps[index], true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DELETE_FUTURE_OCCURRENCES -> {
|
DELETE_FUTURE_OCCURRENCES -> {
|
||||||
eventIds.forEachIndexed { index, value ->
|
eventIds.forEachIndexed { index, value ->
|
||||||
eventsHelper.addEventRepeatLimit(value, timestamps[index])
|
eventsHelper.addEventRepeatLimit(value, timestamps[index])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DELETE_ALL_OCCURRENCES -> {
|
DELETE_ALL_OCCURRENCES -> {
|
||||||
eventsHelper.deleteEvents(eventIds.toMutableList(), true)
|
eventsHelper.deleteEvents(eventIds.toMutableList(), true)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user