1
0
mirror of https://github.com/etesync/android synced 2024-11-15 20:38:58 +00:00

SyncManager tasks: fix bug with task lists being reset.

This commit is contained in:
Tom Hacohen 2020-09-05 13:01:31 +03:00
parent f6a44a33da
commit 6710459176

View File

@ -99,7 +99,7 @@ class TasksSyncAdapterService: SyncAdapterService() {
// delete obsolete local calendar
for (taskList in local) {
val url = taskList.name
val url = taskList.syncId
val collection = remote[url]
if (collection == null) {
Logger.log.fine("Deleting obsolete local taskList $url")