Refresh every second instead of 500ms.
This commit is contained in:
parent
ff2a915ba4
commit
7a72558d1a
|
@ -36,7 +36,7 @@ class DownloadsActivity : AppCompatActivity() {
|
||||||
|
|
||||||
GlobalScope.launch(IO) {
|
GlobalScope.launch(IO) {
|
||||||
while (true) {
|
while (true) {
|
||||||
delay(500)
|
delay(1000)
|
||||||
refreshProgress()
|
refreshProgress()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue