mirror of
https://github.com/Michatec/Radio.git
synced 2026-11-16 22:56:53 +01:00
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.