Files
Radio/app
Michatec 40b5685c8a refactor(settings): centralize preference handling and simplify dialogs
Refactored `SettingsFragment` to use `OnSharedPreferenceChangeListener` for updating the UI, replacing multiple individual listeners and custom dialog interfaces. Simplified dialog classes by removing listener callbacks and relying on direct preference storage.

- Refactored `SettingsFragment` to centralize preference updates in `onSharedPreferenceChanged`.
- Removed `LanguageSelectionDialogListener`, `PresetSelectionDialogListener`, and `ThemeSelectionDialogListener` interfaces.
- Added a fallback artwork URL for casting when station-specific images are unavailable.
- Improved `PlayerService` lifecycle management to prevent service termination during casting or remote control active states.
- Modified sleep timer logic to only cancel on explicit user-initiated pauses.
- Updated `RemoteControlServer` to manage the server instance via a companion object.
- Updated README to reflect version 15.1+ features including Android TV and Google Cast support.
- Removed redundant `pause()` call in `MediaController.play` extension.
2026-08-16 00:34:06 +02:00
..
2025-04-27 15:07:05 +02:00