From cc7b17da86d3548ae199d44e66ee0f0f1b4beba4 Mon Sep 17 00:00:00 2001 From: SUPYROW Date: Thu, 16 Mar 2023 09:57:41 +0100 Subject: [PATCH] Update IcsImporter.kt --- .../com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt index ae67f5842..c7161c859 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/IcsImporter.kt @@ -117,7 +117,7 @@ class IcsImporter(val activity: SimpleActivity) { } else if (line.startsWith(DESCRIPTION) && !isNotificationDescription) { val match = DESCRIPTION_REGEX.matchEntire(line) if (match != null) { - curDescription = match.groups[1]?.value?.replace("\\n", "\n")?.replace("\\,", ",") ?: "" + curDescription = match.groups[1]!!.value.replace("\\n", "\n").replace("\\,", ",") ?: "" } if (curDescription.trim().isEmpty()) { curDescription = ""