- Remove GZIP compression logic that was causing crashes
- Revert to simple QR code generation with single error correction level
- Add file export button when QR code is too large for scanning
- Add FileProvider configuration for sharing exported files
- Update string resources for new file export functionality
- Keep fullscreen QR code viewer for smaller profiles
This provides a more reliable solution: QR codes work for smaller profiles,
and file export handles large profiles that exceed QR code limits.
- Replace StateApp.instance.initializeFiles() with direct FragmentedStorage initialization
- Use SettingsActivity's own filesDir instead of relying on global context
- Add FragmentedStorage import to resolve compilation errors
- Prevents 'Attempted to use a global context while MainActivity is no longer available' error
This ensures SettingsActivity can initialize files independently without
depending on MainActivity's global context state.
- Add StateApp.instance.initializeFiles() calls before accessing Settings
- Fixes crash when SettingsActivity is launched before MainActivity
- Ensures FragmentedStorage is properly initialized before loading files
This prevents the 'Files dir should be initialized before loading a file'
error that was causing the SettingsActivity to crash on startup.
- Create QRCodeFullscreenActivity for large QR code display
- Add click listener to QR code image in PolycentricBackupActivity
- Add visual feedback with ripple effect and hint text
- Add localized strings for fullscreen hint
- Update layout to include hint text below QR code
- Add activity to AndroidManifest.xml
This makes it much easier to scan QR codes by providing
a fullscreen view when tapping the QR code image.
- Add GZIP compression for large export data (>2000 chars)
- Implement fallback QR generation with different error correction levels
- Add automatic decompression support in import functionality
- Improve error handling with fallback to text display
- Add localized error messages for QR code failures
- Add compression ratio logging for debugging
This fixes the 'Data too big' error when generating QR codes for
polycentric profile exports by automatically compressing large data
and providing multiple fallback mechanisms.
hide refresh button when in channel shorts
prevent main player being open when viewing shorts
show info toast when long pressing refresh button
switch bottom bar button ids back to their original values
Changelog: changed