Explorar el Código

hide UI first

Erwin Jacimino hace 8 meses
padre
commit
26993ebe1e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/main/js/app.js

+ 1 - 1
public/main/js/app.js

@@ -1026,6 +1026,7 @@ function resetRewardProgress() {
  * Initialize the application when DOM is loaded
  */
 document.addEventListener("DOMContentLoaded", async () => {
+    hideGUI();
     const isCacheValid = await checkCache();
     if (!isCacheValid) {
         console.warn("Cache is invalid");
@@ -1034,7 +1035,6 @@ document.addEventListener("DOMContentLoaded", async () => {
     createGlobalLoader();
     // Uncomment these lines when ready to initialize the full app:
     initializeLoginModal();
-    hideGUI();
     // initializeApp();
 });