mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-18 12:50:34 +01:00
Update IcsImporter.kt
This commit is contained in:
parent
0eb77c2e13
commit
cc7b17da86
@ -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 = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user