mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-13 18:30:50 +01:00
make sure event exporting is happening on a background thread
This commit is contained in:
parent
83d3f3a724
commit
614ed16c91
@ -28,6 +28,7 @@ class IcsExporter {
|
||||
return@getFileOutputStream
|
||||
}
|
||||
|
||||
Thread {
|
||||
if (showExportingToast) {
|
||||
activity.toast(R.string.exporting)
|
||||
}
|
||||
@ -71,6 +72,7 @@ class IcsExporter {
|
||||
eventsFailed > 0 -> EXPORT_PARTIAL
|
||||
else -> EXPORT_OK
|
||||
})
|
||||
}.start()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user