mirror of
https://github.com/Michatec/Radio.git
synced 2026-06-05 03:12:15 +02:00
feat(ui): add test notification preference and optimize Android TV logic
Introduce a "Test Notification" preference in the settings menu to allow users to verify the notification system. This preference is automatically hidden on Android TV devices to maintain a clean UI. Additionally, refactor notification permission handling to skip requests on Android TV and improve the internal check for Leanback support using a lazy property. Updated string resources for the new preference across all supported languages.
This commit is contained in:
@@ -86,6 +86,8 @@
|
||||
<string name="pref_theme_selection_title">Thème de lapplication</string>
|
||||
<string name="pref_update_station_images_summary">Télécharger la dernière version de toutes les images des stations.</string>
|
||||
<string name="pref_update_station_images_title">Mettre à jour les images des stations</string>
|
||||
<string name="pref_test_notification_title">Notification de test</string>
|
||||
<string name="pref_test_notification_summary">Tester si le système de notification fonctionne.</string>
|
||||
<!-- Raccourcis de l'app -->
|
||||
<string name="shortcut_last_station_disabled_message">Raccourci pour lire la dernière station désactivé.</string>
|
||||
<string name="shortcut_last_station_long_label">Lire la dernière station</string>
|
||||
|
||||
Reference in New Issue
Block a user