feat: hide and show radio and podcast tabs

This commit is contained in:
antonio 2023-06-04 11:59:25 +02:00
parent 16b95bacc5
commit 69e9d5686f
4 changed files with 37 additions and 2 deletions

View file

@ -174,6 +174,10 @@
<string name="settings_queue_syncing_title">Sync play queue for this user</string>
<string name="settings_queue_syncing_countdown">Sync timer</string>
<string name="settings_queue_syncing_summary">If enabled, the user will have the ability to save their play queue and will have the ability to load state when opening the application.</string>
<string name="settings_podcast">Show podcast</string>
<string name="settings_podcast_summary">If enabled, show the podcast section.</string>
<string name="settings_radio">Show radio</string>
<string name="settings_radio_summary">If enabled, show the radio section.</string>
<string name="settings_rounded_corner">Rounded corners</string>
<string name="settings_rounded_corner_summary">If enabled, sets a curvature angle for all rendered covers. The changes will take effect on restart.</string>
<string name="settings_rounded_corner_size">Corners size</string>

View file

@ -39,6 +39,18 @@
app:key="rounded_corner_size"
app:title="@string/settings_rounded_corner_size"
app:useSimpleSummaryProvider="true" />
<SwitchPreference
android:title="@string/settings_podcast"
android:defaultValue="true"
android:summary="@string/settings_podcast_summary"
android:key="podcast_section_visibility" />
<SwitchPreference
android:title="@string/settings_radio"
android:defaultValue="true"
android:summary="@string/settings_radio_summary"
android:key="radio_section_visibility" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/settings_title_data">