From a2ea8b660fbaa7e0e981e66c646bb9443f7904dd Mon Sep 17 00:00:00 2001 From: Naveen Date: Sat, 8 Apr 2023 18:29:42 +0530 Subject: [PATCH] Minor readability improvement --- .../com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")