mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
Update Context.kt
This commit is contained in:
parent
0725eabcb2
commit
54d0138b39
@ -713,8 +713,7 @@ fun Context.addImportIdsToTasks(callback: () -> Unit) {
|
||||
ensureBackgroundThread {
|
||||
var count = 0
|
||||
|
||||
eventsDB.getAllTasks()
|
||||
.forEach { task ->
|
||||
eventsDB.getAllTasks().forEach { task ->
|
||||
if (task.importId.isEmpty()) {
|
||||
eventsDB.updateTaskImportId(
|
||||
importId = generateImportId(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user