mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Update IcsImporter.kt
This commit is contained in:
@ -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 = ""
|
||||
|
Reference in New Issue
Block a user