summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorMarco Rodolfi <marco.rodolfi@tuta.io>2023-06-22 17:32:20 +0200
committerMarco Rodolfi <marco.rodolfi@tuta.io>2023-06-22 17:32:20 +0200
commit143461d59793665f9e54d05ba00b16c55dfec57f (patch)
treee86c1af8de0ac5c0619bbe5126243f9d393d44ef /frontend/src
parentae887e10d6bc24257b723524ef7ddc9b65e8963e (diff)
downloaddecky-loader-143461d59793665f9e54d05ba00b16c55dfec57f.tar.gz
decky-loader-143461d59793665f9e54d05ba00b16c55dfec57f.zip
chore: clean up unused parameters
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/plugin-loader.tsx24
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);
}
}