Skip to content

Commit 4d75933

Browse files
committed
Update
1 parent 126788b commit 4d75933

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

app/src/main/assets/home/etc/boot

608 Bytes
Binary file not shown.

app/src/main/java/com/tool/tree/ActionPage.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,10 @@ class ActionPage : AppCompatActivity() {
385385

386386
loadPageJob = lifecycleScope.launch(Dispatchers.IO) {
387387
if (config.beforeRead.isNotEmpty()) {
388-
withContext(Dispatchers.Main) {
389-
progressBarDialog.showDialog(getString(R.string.kr_page_before_load))
388+
if (showLoading) {
389+
withContext(Dispatchers.Main) {
390+
progressBarDialog.showDialog(getString(R.string.kr_page_before_load))
391+
}
390392
}
391393
ScriptEnvironmen.executeResultRoot(this@ActionPage, config.beforeRead, config)
392394
}
@@ -656,5 +658,4 @@ class ActionPage : AppCompatActivity() {
656658
} catch (_: Exception) {}
657659
}
658660
}
659-
}
660-
661+
}

0 commit comments

Comments
 (0)