music: init loading progress at start
This commit is contained in:
parent
6e4e818fd4
commit
ba5f51dfe6
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ constructor(private val explorer: Explorer, private val interpreter: Interpreter
|
||||||
) = coroutineScope {
|
) = coroutineScope {
|
||||||
var interpreted = 0
|
var interpreted = 0
|
||||||
var explored = 0
|
var explored = 0
|
||||||
|
onProgress(IndexingProgress(interpreted, explored))
|
||||||
val files =
|
val files =
|
||||||
explorer.explore(uris) {
|
explorer.explore(uris) {
|
||||||
explored++
|
explored++
|
||||||
|
|
Loading…
Reference in a new issue