Fixed no confirmation dialog after first edit of imported event (#1478)

This commit is contained in:
Agnieszka C 2022-01-11 15:43:22 +01:00
parent 7055bef9d7
commit 1934f648d9
1 changed files with 1 additions and 1 deletions

View File

@ -1176,7 +1176,7 @@ class EventActivity : SimpleActivity() {
} }
// recreate the event if it was moved in a different CalDAV calendar // recreate the event if it was moved in a different CalDAV calendar
if (mEvent.id != null && oldSource != newSource) { if (mEvent.id != null && oldSource != newSource && oldSource != SOURCE_IMPORTED_ICS) {
eventsHelper.deleteEvent(mEvent.id!!, true) eventsHelper.deleteEvent(mEvent.id!!, true)
mEvent.id = null mEvent.id = null
} }