Repository navigation
What's New in v4.5.1
- Automatic System Language Detection: Automatically detects device and browser language on first launch via navigator.languages / navigator.language and maps to 9 supported locales (Simplified Chinese, Indonesian, Japanese, Korean, Arabic, Russian, Tagalog, Hindi, and English fallback) (#17)
- Android Share Sheet Locale Fallback: Added native Locale.getDefault() language detection in ShareActivity.java so shared links match device language even before app initialization
- Gallery Tab Visibility Toggle: Added toggle to show or hide the Gallery tab under Settings -> Appearance (mori_show_gallery), completely bypassing background disk scans to save RAM and battery on lower-end devices
- TikTok tt.site Shortlink Recognition: Added automatic recognition and URL cleaning for TikTok tt.site shortlink domains across single downloads, batch downloads, and share activities
- Multilingual Gallery Localization: Fully localized gallery filter chips, sort options, and action toasts across all 9 supported languages
- Progressive Gallery Rendering: Implemented incremental batch rendering (24 items per batch) with IntersectionObserver sentinel for smooth, lag-free scrolling across large media collections
- O(1) History Map Indexing: Replaced linear history scans with constant-time Map indexing, prioritizing cached history thumbnails before requesting native video frame decodes
- CSS content-visibility Optimization: Applied content-visibility: auto to gallery cards to skip layout and painting of offscreen elements, significantly reducing GPU and memory overhead
- On-Demand PDF Library Loading: Converted pdf-lib and pdf.js to lazy-load on demand, eliminating heavy synchronous script tags from index.html for faster app cold start
- Android R8 & Resource Shrinking: Enabled full R8 code minification and resource shrinking in Android build.gradle with refined ProGuard rules for a leaner, smaller APK footprint
- Desktop Tauri Release Profile: Configured compiler release profile in Cargo.toml (opt-level = "z", LTO, symbol stripping, codegen-units = 1) to reduce desktop binary size and optimize runtime execution
- High-Resolution Documentation Assets: Converted all preview screenshots to crisp WebP format and added Mori CLI terminal mockups to project documentation