mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-30 10:25:01 +01:00
fix a glitch at setting local event type
This commit is contained in:
parent
47f5adf5f3
commit
e3b4be65d3
@ -60,7 +60,8 @@ class EventActivity : SimpleActivity() {
|
||||
return
|
||||
}
|
||||
|
||||
if (dbHelper.getEventType(config.lastUsedLocalEventTypeId) == null) {
|
||||
val localEventType = dbHelper.getEventType(config.lastUsedLocalEventTypeId)
|
||||
if (localEventType == null || localEventType.caldavCalendarId != 0) {
|
||||
config.lastUsedLocalEventTypeId = DBHelper.REGULAR_EVENT_TYPE_ID
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user