mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
add recurrence to newly created google sync event
This commit is contained in:
@ -511,6 +511,7 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener {
|
||||
start = EventDateTime().setDateTime(com.google.api.client.util.DateTime(mEvent.startTS * 1000L))
|
||||
end = EventDateTime().setDateTime(com.google.api.client.util.DateTime(mEvent.endTS * 1000L))
|
||||
status = CONFIRMED.toLowerCase()
|
||||
recurrence = listOf(Parser().getShortRepeatInterval(mEvent))
|
||||
getGoogleSyncService().events().insert(PRIMARY, this).execute()
|
||||
}
|
||||
} catch (ignored: Exception) {
|
||||
|
Reference in New Issue
Block a user