This commit is contained in:
rxdn 2020-06-18 15:21:36 +01:00
parent 7cf76c1591
commit 78c75dfaea
2 changed files with 4 additions and 5 deletions

View File

@ -85,7 +85,6 @@
async function withLoadingScreen(func) {
showLoadingScreen();
await func();
await sleep(200);
hideLoadingScreen();
}
</script>

View File

@ -509,10 +509,10 @@
</script>
<script>
withLoadingScreen(() => {
loadData();
loadClaimSettings();
loadAutoCloseSettings();
withLoadingScreen(async () => {
await loadData();
await loadClaimSettings();
await loadAutoCloseSettings();
});
</script>
</div>