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