mirror of
https://github.com/etesync/android
synced 2025-01-03 12:21:01 +00:00
Fix potential crash in migration script.
This commit is contained in:
parent
dfc1e78543
commit
9fd370ff6e
@ -766,7 +766,7 @@ class MigrateCollectionsDoFragment : DialogFragment() {
|
||||
|
||||
if (toPush.size == CHUNK_SIZE) {
|
||||
uiThread {
|
||||
progress.setMessage(getString(R.string.migrate_v2_wizard_migrate_progress, i, total) + "\n" +
|
||||
progress.setMessage(context?.getString(R.string.migrate_v2_wizard_migrate_progress, i, total) + "\n" +
|
||||
getString(R.string.migrate_v2_wizard_migrate_progress_entries, itemDone, entries.size))
|
||||
}
|
||||
itemMgr.batch(toPush.toTypedArray())
|
||||
|
Loading…
Reference in New Issue
Block a user