undo some ics importer changes
This commit is contained in:
parent
cf11065223
commit
cef4aae783
|
@ -1,13 +1,13 @@
|
|||
package com.simplemobiletools.calendar.helpers
|
||||
|
||||
import android.content.Context
|
||||
import android.util.Log
|
||||
import com.simplemobiletools.calendar.R
|
||||
import com.simplemobiletools.calendar.extensions.dbHelper
|
||||
import com.simplemobiletools.calendar.extensions.isXMonthlyRepetition
|
||||
import com.simplemobiletools.calendar.extensions.isXWeeklyRepetition
|
||||
import com.simplemobiletools.calendar.extensions.seconds
|
||||
import com.simplemobiletools.calendar.helpers.IcsImporter.ImportResult.*
|
||||
import com.simplemobiletools.calendar.models.Event
|
||||
import com.simplemobiletools.calendar.models.EventType
|
||||
import org.joda.time.DateTimeZone
|
||||
import org.joda.time.format.DateTimeFormat
|
||||
|
@ -47,9 +47,7 @@ class IcsImporter {
|
|||
if (line.trim().isEmpty())
|
||||
continue
|
||||
|
||||
Log.e("DEBUG", "line $line")
|
||||
|
||||
/*if (line.substring(0, 1) == " ") {
|
||||
if (line.substring(0, 1) == " ") {
|
||||
line = prevLine + line.trim()
|
||||
eventsFailed--
|
||||
}
|
||||
|
@ -107,7 +105,7 @@ class IcsImporter {
|
|||
eventsImported++
|
||||
resetValues()
|
||||
}
|
||||
prevLine = line*/
|
||||
prevLine = line
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
|
|
Loading…
Reference in New Issue