From ae887e10d6bc24257b723524ef7ddc9b65e8963e Mon Sep 17 00:00:00 2001
From: Marco Rodolfi <marco.rodolfi@tuta.io>
Date: Thu, 22 Jun 2023 17:25:38 +0200
Subject: chore: adding parameters to file picker in logical order

---
 frontend/src/components/settings/pages/developer/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/src/components/settings/pages/developer/index.tsx')

diff --git a/frontend/src/components/settings/pages/developer/index.tsx b/frontend/src/components/settings/pages/developer/index.tsx
index c0a8ca9e..5ed76515 100644
--- a/frontend/src/components/settings/pages/developer/index.tsx
+++ b/frontend/src/components/settings/pages/developer/index.tsx
@@ -29,6 +29,7 @@ const installFromZip = async () => {
     return;
   }
   window.DeckyPluginLoader.openFilePickerV2(
+    FileSelectionType.FILE,
     path,
     true,
     true,
@@ -36,7 +37,6 @@ const installFromZip = async () => {
     ['zip'],
     false,
     false,
-    FileSelectionType.FILE,
   ).then((val) => {
     const url = `file://${val.path}`;
     console.log(`Installing plugin locally from ${url}`);
-- 
cgit v1.2.3

