mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-01 19:19:14 +01:00
update the repeat rule text as appropriate at yearly repetition too
This commit is contained in:
parent
0779d6fd96
commit
9271cd5994
@ -853,7 +853,7 @@ class EventActivity : SimpleActivity() {
|
||||
if (day == MONDAY_BIT || day == TUESDAY_BIT || day == WEDNESDAY_BIT || day == THURSDAY_BIT || day == FRIDAY_BIT || day == SATURDAY_BIT || day == SUNDAY_BIT) {
|
||||
setRepeatRule(Math.pow(2.0, (mEventStartDateTime.dayOfWeek - 1).toDouble()).toInt())
|
||||
}
|
||||
} else if (mRepeatInterval.isXMonthlyRepetition()) {
|
||||
} else if (mRepeatInterval.isXMonthlyRepetition() || mRepeatInterval.isXYearlyRepetition()) {
|
||||
if (mRepeatRule == REPEAT_LAST_DAY && !isLastDayOfTheMonth())
|
||||
mRepeatRule = REPEAT_SAME_DAY
|
||||
checkRepetitionRuleText()
|
||||
|
Loading…
Reference in New Issue
Block a user