mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
adding a crashfix
This commit is contained in:
@@ -70,7 +70,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:5d3439cd6b'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:f538687d6e'
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||||
|
@@ -219,8 +219,8 @@ class EventsHelper(val context: Context) {
|
|||||||
context.cancelPendingIntent(eventId)
|
context.cancelPendingIntent(eventId)
|
||||||
if (config.caldavSync) {
|
if (config.caldavSync) {
|
||||||
val event = eventsDB.getEventWithId(eventId)
|
val event = eventsDB.getEventWithId(eventId)
|
||||||
if (event?.getCalDAVCalendarId() != 0) {
|
if (event != null && event.getCalDAVCalendarId() != 0) {
|
||||||
context.calDAVHelper.updateCalDAVEvent(event!!)
|
context.calDAVHelper.updateCalDAVEvent(event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user