Browse Source

Refresh every second instead of 500ms.

housekeeping/remove-warnings
Antoine POPINEAU 4 years ago
parent
commit
7a72558d1a
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
  1. 2
      app/src/main/java/com/github/apognu/otter/activities/DownloadsActivity.kt

2
app/src/main/java/com/github/apognu/otter/activities/DownloadsActivity.kt

@ -36,7 +36,7 @@ class DownloadsActivity : AppCompatActivity() { @@ -36,7 +36,7 @@ class DownloadsActivity : AppCompatActivity() {
GlobalScope.launch(IO) {
while (true) {
delay(500)
delay(1000)
refreshProgress()
}
}

Loading…
Cancel
Save