diff options
| author | Brendan Allan <[email protected]> | 2026-03-20 23:02:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-20 15:02:07 +0000 |
| commit | d0a57305efcf03f4fd69ca180d97ea85e6cb2f1d (patch) | |
| tree | c4112592fa632f24544deab42e465b0e2c1d0ff6 /packages/app/src/context | |
| parent | 27a70ad70f30faf30d159f56b394c01f9474c7a4 (diff) | |
| download | opencode-d0a57305efcf03f4fd69ca180d97ea85e6cb2f1d.tar.gz opencode-d0a57305efcf03f4fd69ca180d97ea85e6cb2f1d.zip | |
app: file type filter on desktop + multiple files (#18403)
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/platform.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/app/src/context/platform.tsx b/packages/app/src/context/platform.tsx index b8ed58e34..3bdc46391 100644 --- a/packages/app/src/context/platform.tsx +++ b/packages/app/src/context/platform.tsx @@ -5,7 +5,7 @@ import { ServerConnection } from "./server" type PickerPaths = string | string[] | null type OpenDirectoryPickerOptions = { title?: string; multiple?: boolean } -type OpenFilePickerOptions = { title?: string; multiple?: boolean } +type OpenFilePickerOptions = { title?: string; multiple?: boolean; accept?: string[]; extensions?: string[] } type SaveFilePickerOptions = { title?: string; defaultPath?: string } type UpdateInfo = { updateAvailable: boolean; version?: string } |
