Update MainActivity.kt

This commit is contained in:
rebel onion
2024-01-13 11:13:01 -06:00
committed by GitHub
parent 1c6ac0999d
commit 68922784b6

View File

@@ -248,6 +248,7 @@ class MainActivity : AppCompatActivity() {
}
}
}
GlobalScope.launch(Dispatchers.IO) {
val index = Helper.downloadManager(this@MainActivity).downloadIndex
val downloadCursor = index.getDownloads()
while (downloadCursor.moveToNext()) {