Skip to content

Commit 64c289c

Browse files
authored
Merge pull request #3184 from opusforlife2/relocate_settings
Relocate two settings from Appearance to Content
2 parents 8fa29ff + 7da1120 commit 64c289c

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

app/src/main/res/xml/appearance_settings.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
android:summary="%s"
1414
android:title="@string/theme_title"/>
1515

16-
<SwitchPreference
17-
app:iconSpaceReserved="false"
18-
android:defaultValue="true"
19-
android:key="@string/show_next_video_key"
20-
android:title="@string/show_next_and_similar_title"/>
21-
2216
<SwitchPreference
2317
app:iconSpaceReserved="false"
2418
android:defaultValue="true"
@@ -41,11 +35,4 @@
4135
android:title="@string/caption_setting_title"
4236
android:summary="@string/caption_setting_description"/>
4337

44-
<PreferenceScreen
45-
app:iconSpaceReserved="false"
46-
android:fragment="org.schabi.newpipe.settings.tabs.ChooseTabsFragment"
47-
android:summary="@string/main_page_content_summary"
48-
android:key="@string/main_page_content_key"
49-
android:title="@string/main_page_content"/>
50-
5138
</PreferenceScreen>

app/src/main/res/xml/content_settings.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
android:summary="%s"
3232
android:title="@string/default_content_country_title"/>
3333

34+
<PreferenceScreen
35+
app:iconSpaceReserved="false"
36+
android:fragment="org.schabi.newpipe.settings.tabs.ChooseTabsFragment"
37+
android:summary="@string/main_page_content_summary"
38+
android:key="@string/main_page_content_key"
39+
android:title="@string/main_page_content"/>
40+
3441
<PreferenceScreen
3542
app:iconSpaceReserved="false"
3643
android:fragment="org.schabi.newpipe.settings.PeertubeInstanceListFragment"
@@ -58,6 +65,12 @@
5865
android:title="@string/download_thumbnail_title"
5966
android:summary="@string/download_thumbnail_summary"/>
6067

68+
<SwitchPreference
69+
app:iconSpaceReserved="false"
70+
android:defaultValue="true"
71+
android:key="@string/show_next_video_key"
72+
android:title="@string/show_next_and_similar_title"/>
73+
6174
<SwitchPreference
6275
app:iconSpaceReserved="false"
6376
android:defaultValue="true"

0 commit comments

Comments
 (0)