0
0
mirror of https://github.com/etesync/android.git synced 2024-09-19 20:32:17 +02:00

Fix potential crash in migration script.

This commit is contained in:
Tom Hacohen 2020-11-08 17:35:00 +02:00
parent dfc1e78543
commit 9fd370ff6e

View File

@ -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())