mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20:51 +01:00
ignore all error returned from google calendar at deleting for now
This commit is contained in:
parent
49d539b899
commit
016ed0e4a5
@ -350,7 +350,10 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
||||
importIDs.forEach {
|
||||
Thread({
|
||||
if (context.isOnline()) {
|
||||
context.getGoogleSyncService().events().delete(PRIMARY, it).execute()
|
||||
try {
|
||||
context.getGoogleSyncService().events().delete(PRIMARY, it).execute()
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
}).start()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user