mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20:51 +01:00
fix #1311, show the save/discard prompt at changing the event calendar
This commit is contained in:
parent
ab0a8153f1
commit
9bff69baf1
@ -298,6 +298,7 @@ class EventActivity : SimpleActivity() {
|
||||
mRepeatInterval != mEvent.repeatInterval ||
|
||||
mRepeatRule != mEvent.repeatRule ||
|
||||
mEventTypeId != mEvent.eventType ||
|
||||
mEventCalendarId != mEvent.getCalDAVCalendarId() ||
|
||||
hasTimeChanged) {
|
||||
return true
|
||||
}
|
||||
@ -970,6 +971,7 @@ class EventActivity : SimpleActivity() {
|
||||
DELETE_FUTURE_OCCURRENCES -> eventsHelper.addEventRepeatLimit(mEvent.id!!, mEventOccurrenceTS)
|
||||
DELETE_ALL_OCCURRENCES -> eventsHelper.deleteEvent(mEvent.id!!, true)
|
||||
}
|
||||
|
||||
runOnUiThread {
|
||||
finish()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user