mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-01 11:16:48 +01:00
remove Last day of the month repetititon if date changes to not last day
This commit is contained in:
parent
109f3a3f3e
commit
13d0934ab0
@ -578,6 +578,8 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener {
|
||||
setRepeatRule(Math.pow(2.0, (mEventStartDateTime.dayOfWeek - 1).toDouble()).toInt())
|
||||
}
|
||||
} else if (mRepeatInterval.isXMonthlyRepetition()) {
|
||||
if (mRepeatRule == REPEAT_MONTH_LAST_DAY && !isLastDayOfTheMonth())
|
||||
mRepeatRule = REPEAT_MONTH_SAME_DAY
|
||||
checkRepetitionRuleText()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user