diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 11:14:29 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-28 11:14:29 +0100 |
| commit | 969297d6658bb801de13cba132af774197c62ca8 (patch) | |
| tree | 5a9898e79a72c818db0bd77ca132c8884b82dce2 /crates/wipfel/src/app.rs | |
| parent | 6fc70d457737507df60c725795c4c736affc95c8 (diff) | |
web: image picker accepts images only again
The */* workaround did not circumvent the MediaProvider EXIF
redaction, so no reason to show non-image files in the picker.
Diffstat (limited to 'crates/wipfel/src/app.rs')
| -rw-r--r-- | crates/wipfel/src/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs index 0c66c35..09f3ac3 100644 --- a/crates/wipfel/src/app.rs +++ b/crates/wipfel/src/app.rs @@ -1026,7 +1026,7 @@ pub fn app() -> Html { <input type="file" ref={file_ref} - accept="*/*" + accept="image/*" class="hidden-file" onchange={on_file_change} /> |
