From 4d71517cde984f111da79dfd0a5c2ba908952eb0 Mon Sep 17 00:00:00 2001 From: Arnau Mora Date: Tue, 9 Dec 2025 09:40:22 +0000 Subject: [PATCH] Delegate `fileName` into `DmfsTask.syncId` (#1871) Signed-off-by: Arnau Mora --- app/src/main/kotlin/at/bitfire/davdroid/resource/LocalTask.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/at/bitfire/davdroid/resource/LocalTask.kt b/app/src/main/kotlin/at/bitfire/davdroid/resource/LocalTask.kt index 9c54f04ca..d1b8b2202 100644 --- a/app/src/main/kotlin/at/bitfire/davdroid/resource/LocalTask.kt +++ b/app/src/main/kotlin/at/bitfire/davdroid/resource/LocalTask.kt @@ -23,7 +23,9 @@ import java.util.Optional */ class LocalTask: DmfsTask, LocalResource { - override var fileName: String? = null + override var fileName: String? + get() = syncId + set(value) { syncId = value } /** * Note: Schedule-Tag for tasks is not supported