mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The home-page preview panel always rendered ImageViewer regardless of the uploaded file's modality, causing videos, audio, PDFs, and data files to show "Preview not available". Root cause: the preview branching only checked for a blob URL and assumed all files were images. Fix: branch on currentEntry.previewKind so the existing MediaPlayerView, DocumentView, and a file-info fallback are activated for their respective modalities. Also widen the AppLayout dropzone from image-only to all file types so non-image files can reach the home page in the first place.