File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/src/main/kotlin/at/bitfire/synctools/storage/calendar Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class AndroidCalendar(
122122
123123 // insert data rows (with reference to main row ID)
124124 for (row in entity.subValues)
125- batch + = CpoBuilder .newInsert(row.uri)
125+ batch + = CpoBuilder .newInsert(row.uri.asSyncAdapter(account) )
126126 .withValues(row.values)
127127 .withValueBackReference(AndroidEvent2 .DATA_ROW_EVENT_ID , /* result of first operation with index = */ 0 )
128128 }
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class AndroidEvent2(
9999
100100 fun update (values : ContentValues ) = calendar.updateEventRow(id, values)
101101 fun update (entity : Entity ) = calendar.updateEvent(id, entity)
102- fun delete () = calendar.deleteEventAndExceptions(id)
102+ fun deleteWithExceptions () = calendar.deleteEventAndExceptions(id)
103103
104104
105105 // helpers
You can’t perform that action at this time.
0 commit comments