summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 11:14:29 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 11:14:29 +0100
commit969297d6658bb801de13cba132af774197c62ca8 (patch)
tree5a9898e79a72c818db0bd77ca132c8884b82dce2
parent6fc70d457737507df60c725795c4c736affc95c8 (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.
-rw-r--r--crates/wipfel/src/app.rs2
-rw-r--r--dist/wipfel/wipfel_bg.wasmbin523323 -> 523323 bytes
2 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}
/>
diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm
index 0bc8c3d..aab2e64 100644
--- a/dist/wipfel/wipfel_bg.wasm
+++ b/dist/wipfel/wipfel_bg.wasm
Binary files differ