Telegram Drive v1.1.2
New Features
- In-App PDF Viewer — View PDF files directly inside Telegram Drive with infinite scrolling, zoom controls (+/−/fit-width), and keyboard shortcuts
- PDFs integrate seamlessly with the existing file navigation (arrow keys to browse between files)
Bug Fixes
- Removed 100-file per-folder cap — All files in a folder are now loaded instead of being silently truncated at ~100
- Faster preview/thumbnail loading — Replaced O(n) message scanning with O(1) direct lookup for previews and thumbnails
- Restored Escape/folder-switch search clearing — Pressing Escape or changing folders now properly clears the search bar again
Security
- Removed unnecessary 'unsafe-eval' from Content Security Policy
Code Quality
- Extracted shared file-type helpers (isMediaFile, isPdfFile, etc.) to eliminate 5 duplicated extension arrays
- Removed dead code: unreachable video branch in PreviewModal, empty menu.rs, stale commands.rs.bak
- Fixed PDF.js worker bundling for production Tauri builds
- Fixed PDFDocumentProxy memory leak on file navigation
See the assets below to download and install.