Merge pull request #9580 from pratyaksh1610/branch-8232

Moved player notification setting to notification section
This commit is contained in:
Stypox 2024-03-30 15:38:33 +01:00 committed by GitHub
commit 58f5ec0181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -23,14 +23,6 @@
app:singleLineTitle="false" app:singleLineTitle="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<PreferenceScreen
android:key="@string/player_notification_screen_key"
android:fragment="org.schabi.newpipe.settings.PlayerNotificationSettingsFragment"
android:summary="@string/settings_category_player_notification_summary"
android:title="@string/settings_category_player_notification_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:defaultValue="true" android:defaultValue="true"
android:key="@string/show_hold_to_append_key" android:key="@string/show_hold_to_append_key"

View File

@ -4,6 +4,14 @@
android:key="general_preferences" android:key="general_preferences"
android:title="@string/notifications"> android:title="@string/notifications">
<PreferenceScreen
android:key="@string/player_notification_screen_key"
android:fragment="org.schabi.newpipe.settings.PlayerNotificationSettingsFragment"
android:summary="@string/settings_category_player_notification_summary"
android:title="@string/settings_category_player_notification_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="false"
android:key="@string/enable_streams_notifications" android:key="@string/enable_streams_notifications"