diff --git a/app/src/main/java/com/etesync/syncadapter/ui/etebase/EditCollectionFragment.kt b/app/src/main/java/com/etesync/syncadapter/ui/etebase/EditCollectionFragment.kt index 829a6541..245822ab 100644 --- a/app/src/main/java/com/etesync/syncadapter/ui/etebase/EditCollectionFragment.kt +++ b/app/src/main/java/com/etesync/syncadapter/ui/etebase/EditCollectionFragment.kt @@ -155,6 +155,9 @@ class EditCollectionFragment(private val cachedCollection: CachedCollection, pri doAsync { try { val col = cachedCollection.col + val meta = col.meta + meta.mtime = System.currentTimeMillis() + col.meta = meta col.delete() uploadCollection(col) val applicationContext = activity?.applicationContext @@ -194,6 +197,8 @@ class EditCollectionFragment(private val cachedCollection: CachedCollection, pri edit = v.findViewById(R.id.description) meta.description = StringUtils.trimToNull(edit.text.toString()) + meta.mtime = System.currentTimeMillis() + if (ok) { when (meta.collectionType) { Constants.ETEBASE_TYPE_CALENDAR, Constants.ETEBASE_TYPE_TASKS -> {