Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b6ab803 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Clear parent_id when it's not set anymore after a remote update

parent ef872cf3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -416,6 +416,9 @@ abstract class AndroidTask(
                .withValue(Tasks.TASK_COLOR, task.color)
                .withValue(Tasks.URL, task.url)

                // parent_id will be re-calculated when the relation row is inserted (if there is any)
                .withValue(Tasks.PARENT_ID, null)

        var organizer: String? = null
        task.organizer?.let {
            try {