Skip to content
Snippets Groups Projects
Commit ccc0a852 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix scan on migration

parent 82b0979e
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ fun Context.startMedialibrary(firstRun: Boolean = false, upgrade: Boolean = fals
ContextCompat.startForegroundService(this@startMedialibrary, intent
.putExtra(EXTRA_FIRST_RUN, firstRun)
.putExtra(EXTRA_UPGRADE, upgrade)
.putExtra(EXTRA_PARSE, parse && scanOpt == ML_SCAN_ON))
.putExtra(EXTRA_PARSE, parse && scanOpt != ML_SCAN_OFF))
}
private suspend fun dbExists(context: Context) = withContext(Dispatchers.IO) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment