mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
trim the line with alarm action at importing from .ics file
This commit is contained in:
@ -107,7 +107,7 @@ class IcsImporter(val activity: SimpleActivity) {
|
||||
parseRepeatRule()
|
||||
}
|
||||
} else if (line.startsWith(ACTION)) {
|
||||
val action = line.substring(ACTION.length)
|
||||
val action = line.substring(ACTION.length).trim()
|
||||
isProperReminderAction = action == DISPLAY || action == EMAIL
|
||||
if (isProperReminderAction) {
|
||||
curReminderTriggerAction = if (action == DISPLAY) REMINDER_NOTIFICATION else REMINDER_EMAIL
|
||||
|
Reference in New Issue
Block a user