mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-16 20:00:39 +01:00
Add comment
This commit is contained in:
parent
fe09a937ec
commit
3830e849d6
@ -30,6 +30,7 @@ fun Event.toUtcAllDayEvent() {
|
||||
endTS = Formatter.getShiftedUtcTS(endTS)
|
||||
}
|
||||
|
||||
// this is to make sure the repetition ends on the date set when creating the original event
|
||||
fun Event.maybeAdjustRepeatLimitCount(original: Event, occurrenceTS: Long) {
|
||||
val hasFixedRepeatCount = original.repeatLimit < 0 && repeatLimit < 0
|
||||
val repeatLimitUnchanged = original.repeatLimit == repeatLimit
|
||||
|
Loading…
x
Reference in New Issue
Block a user