Skip to content

Commit

Permalink
Fix checkForExternalStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Jun 16, 2023
1 parent cb9e51b commit 87121d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ open class StartupActivity : CustomTitlebarActivityBase() {
private suspend fun checkForExternalStorage(): Boolean {
var time = 0L
val delayMillis = 50L
val timeout = 5000L
val timeout = 15000L
var success = true
while(Environment.getExternalStorageState() != Environment.MEDIA_MOUNTED) {
delay(delayMillis)
Expand Down

0 comments on commit 87121d3

Please sign in to comment.