adding a crashfix
This commit is contained in:
parent
a666e24445
commit
5b049b4d74
|
@ -70,7 +70,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:5d3439cd6b'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:f538687d6e'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
|
|
|
@ -219,8 +219,8 @@ class EventsHelper(val context: Context) {
|
|||
context.cancelPendingIntent(eventId)
|
||||
if (config.caldavSync) {
|
||||
val event = eventsDB.getEventWithId(eventId)
|
||||
if (event?.getCalDAVCalendarId() != 0) {
|
||||
context.calDAVHelper.updateCalDAVEvent(event!!)
|
||||
if (event != null && event.getCalDAVCalendarId() != 0) {
|
||||
context.calDAVHelper.updateCalDAVEvent(event)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue