From 143461d59793665f9e54d05ba00b16c55dfec57f Mon Sep 17 00:00:00 2001
From: Marco Rodolfi <marco.rodolfi@tuta.io>
Date: Thu, 22 Jun 2023 17:32:20 +0200
Subject: chore: clean up unused parameters

---
 frontend/src/plugin-loader.tsx | 24 ++----------------------
 1 file changed, 2 insertions(+), 22 deletions(-)

(limited to 'frontend/src/plugin-loader.tsx')

diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 98667c65..e2ffc44a 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -365,29 +365,9 @@ class PluginLoader extends Logger {
     regex?: RegExp,
   ): Promise<{ path: string; realpath: string }> {
     if (selectFiles) {
-      return this.openFilePickerV2(
-        FileSelectionType.FILE,
-        startPath,
-        true,
-        true,
-        regex,
-        undefined,
-        undefined,
-        undefined,
-        undefined,
-      );
+      return this.openFilePickerV2(FileSelectionType.FILE, startPath, true, true, regex);
     } else {
-      return this.openFilePickerV2(
-        FileSelectionType.FOLDER,
-        startPath,
-        false,
-        true,
-        regex,
-        undefined,
-        undefined,
-        undefined,
-        undefined,
-      );
+      return this.openFilePickerV2(FileSelectionType.FOLDER, startPath, false, true, regex);
     }
   }
 
-- 
cgit v1.2.3

