diff --git a/CHANGELOG.md b/CHANGELOG.md index ee357ba5a..ff13357dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed old reminders not being removed when moving events ([#486]) - Fixed drag and drop copying events instead of moving them ([#706]) - Fixed crash when editing events with attendees ([#34]) -- Fixed event edits being silently discarded when using navigation arrow ([#803]) +- Fixed event edits being silently discarded on back press ([#49]) ## [1.6.1] - 2025-09-01 ### Changed @@ -128,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release [#34]: https://github.com/FossifyOrg/Calendar/issues/34 +[#49]: https://github.com/FossifyOrg/Calendar/issues/49 [#138]: https://github.com/FossifyOrg/Calendar/issues/138 [#148]: https://github.com/FossifyOrg/Calendar/issues/148 [#196]: https://github.com/FossifyOrg/Calendar/issues/196 diff --git a/app/src/main/kotlin/org/fossify/calendar/activities/EventActivity.kt b/app/src/main/kotlin/org/fossify/calendar/activities/EventActivity.kt index cfa78ae8a..69067fba2 100644 --- a/app/src/main/kotlin/org/fossify/calendar/activities/EventActivity.kt +++ b/app/src/main/kotlin/org/fossify/calendar/activities/EventActivity.kt @@ -649,6 +649,11 @@ class EventActivity : SimpleActivity() { reminders != mEvent.getReminders() || mRepeatInterval != mEvent.repeatInterval || mRepeatRule != mEvent.repeatRule || + mRepeatLimit != mEvent.repeatLimit || + getAllAttendees(false) != mEvent.attendees || + mAvailability != mEvent.availability || + mAccessLevel != mEvent.accessLevel || + mStatus != mEvent.status || mEventTypeId != mEvent.eventType || mWasCalendarChanged || mIsAllDayEvent != mEvent.getIsAllDay() || diff --git a/app/src/main/kotlin/org/fossify/calendar/activities/TaskActivity.kt b/app/src/main/kotlin/org/fossify/calendar/activities/TaskActivity.kt index bc50de0fa..8374e09f6 100644 --- a/app/src/main/kotlin/org/fossify/calendar/activities/TaskActivity.kt +++ b/app/src/main/kotlin/org/fossify/calendar/activities/TaskActivity.kt @@ -141,6 +141,7 @@ class TaskActivity : SimpleActivity() { reminders != originalReminders || mRepeatInterval != mTask.repeatInterval || mRepeatRule != mTask.repeatRule || + mRepeatLimit != mTask.repeatLimit || mEventTypeId != mTask.eventType || mEventColor != mTask.color || hasTimeChanged