diff options
| author | Marco Rodolfi <marco.rodolfi@tuta.io> | 2023-06-22 17:32:20 +0200 |
|---|---|---|
| committer | Marco Rodolfi <marco.rodolfi@tuta.io> | 2023-06-22 17:32:20 +0200 |
| commit | 143461d59793665f9e54d05ba00b16c55dfec57f (patch) | |
| tree | e86c1af8de0ac5c0619bbe5126243f9d393d44ef /frontend | |
| parent | ae887e10d6bc24257b723524ef7ddc9b65e8963e (diff) | |
| download | decky-loader-143461d59793665f9e54d05ba00b16c55dfec57f.tar.gz decky-loader-143461d59793665f9e54d05ba00b16c55dfec57f.zip | |
chore: clean up unused parameters
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 24 |
1 files changed, 2 insertions, 22 deletions
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); } } |
