Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add AVIF to previewSupportedMimes
Signed-off-by: JanisPlayer <[email protected]>
  • Loading branch information
JanisPlayer authored Sep 11, 2023
commit 45c38f6678d0b1853fe737d4b03992bc7b6c4de9
2 changes: 1 addition & 1 deletion src/models/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const enabledPreviewProviders = loadState(appName, 'enabled_preview_providers',
const previewSupportedMimes = [
'image/heic',
'image/heif',
'image/avif',
'image/tiff',
'image/x-xbitmap',
]
Expand All @@ -50,7 +51,6 @@ const browserSupportedMimes = [
'image/png',
'image/svg+xml',
'image/webp',
'image/avif',
'image/x-icon',
]

Expand Down