Browse Source

Fix wrong usage of the progress bar

Clem 2 years ago
parent
commit
ac596e323b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/src/plugins.ts

+ 2 - 2
app/src/plugins.ts

@@ -255,8 +255,8 @@ export async function loadPlugins (foundPlugins: PluginInfo[], progress: Progres
             setTimeout(x, 50)
         }))
     }
-    progress(1, 1)
-
     await Promise.all(pluginsPromises)
+
+    progress(1, 1)
     return plugins
 }