diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt index 3acc3861a..218e43ffe 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt @@ -133,7 +133,7 @@ class CalDAVHelper(val context: Context) { } return colors.toSortedMap().entries - .associate { (k, v) -> v to k } + .associate { (key, color) -> color to key } } @SuppressLint("MissingPermission")