22<PreferenceScreen xmlns : android =" http://schemas.android.com/apk/res/android"
33 xmlns : app =" http://schemas.android.com/apk/res-auto" >
44
5+ <PreferenceCategory app : title =" @string/mode_of_operation" >
6+
7+ <SwitchPreferenceCompat
8+ android : icon =" @drawable/ic_region"
9+ android : defaultValue =" false"
10+ android : title =" @string/full_local_mode"
11+ android : key =" full_local_mode"
12+ android : disableDependentsState =" true"
13+ android : summary =" @string/full_local_mode_desc" />
14+
15+ <SwitchPreferenceCompat
16+ android : defaultValue =" true"
17+ android : icon =" @drawable/ic_region"
18+ android : dependency =" full_local_mode"
19+ android : summary =" @string/local_stream_extraction_summary"
20+ android : title =" @string/local_stream_extraction"
21+ app : key =" local_stream_extraction" />
22+
23+ </PreferenceCategory >
24+
525 <PreferenceCategory app : title =" @string/instance" >
626
727 <ListPreference
1030 app : entries =" @array/instances"
1131 app : entryValues =" @array/instancesValue"
1232 app : key =" selectInstance"
33+ android : dependency =" full_local_mode"
1334 app : title =" @string/instances" />
1435
1536 <Preference
1637 android : icon =" @drawable/ic_add_instance"
1738 app : key =" customInstance"
39+ android : dependency =" full_local_mode"
1840 app : summary =" @string/customInstance_summary"
1941 app : title =" @string/customInstance" />
2042
2143 <Preference
2244 android : icon =" @drawable/ic_trash"
2345 app : key =" clearCustomInstances"
46+ android : dependency =" full_local_mode"
2447 app : title =" @string/clear_customInstances" />
2548
49+ <SwitchPreferenceCompat
50+ android : defaultValue =" false"
51+ android : icon =" @drawable/ic_server"
52+ android : dependency =" full_local_mode"
53+ android : summary =" @string/disable_proxy_summary"
54+ android : title =" @string/disable_proxy"
55+ app : key =" disable_video_image_proxy" />
56+
57+ </PreferenceCategory >
58+
59+ <PreferenceCategory android : title =" @string/authentication" >
60+
61+ <SwitchPreferenceCompat
62+ android : defaultValue =" false"
63+ android : icon =" @drawable/ic_region"
64+ android : summary =" @string/local_feed_extraction_summary"
65+ android : title =" @string/local_feed_extraction"
66+ app : key =" local_feed_extraction" />
67+
2668 <SwitchPreferenceCompat
2769 android : defaultValue =" false"
2870 android : icon =" @drawable/ic_auth"
3981 app : key =" selectAuthInstance"
4082 app : title =" @string/auth_instances" />
4183
42- </PreferenceCategory >
43-
44- <PreferenceCategory app : title =" @string/audio_video" >
45-
46- <SwitchPreferenceCompat
47- android : defaultValue =" false"
48- android : icon =" @drawable/ic_list"
49- android : summary =" @string/hls_instead_of_dash_summary"
50- android : title =" @string/hls_instead_of_dash"
51- app : key =" use_hls" />
52-
53- </PreferenceCategory >
54-
55- <PreferenceCategory app : title =" @string/account" >
56-
5784 <Preference
5885 android : icon =" @drawable/ic_login_filled"
5986 android : summary =" @string/notgmail"
75102
76103 </PreferenceCategory >
77104
78- <PreferenceCategory app : title =" @string/proxy " >
105+ <PreferenceCategory app : title =" @string/audio_video " >
79106
80107 <SwitchPreferenceCompat
81108 android : defaultValue =" false"
82- android : icon =" @drawable/ic_server "
83- android : summary =" @string/disable_proxy_summary "
84- android : title =" @string/disable_proxy "
85- app : key =" disable_video_image_proxy " />
109+ android : icon =" @drawable/ic_list "
110+ android : summary =" @string/hls_instead_of_dash_summary "
111+ android : title =" @string/hls_instead_of_dash "
112+ app : key =" use_hls " />
86113
87- <SwitchPreferenceCompat
88- android : defaultValue =" true"
89- android : icon =" @drawable/ic_region"
90- android : summary =" @string/local_stream_extraction_summary"
91- android : title =" @string/local_stream_extraction"
92- android : dependency =" disable_video_image_proxy"
93- app : key =" local_stream_extraction" />
114+ </PreferenceCategory >
115+
116+ <PreferenceCategory app : title =" @string/misc" >
94117
95118 <SwitchPreferenceCompat
96119 android : defaultValue =" true"
97120 android : icon =" @drawable/ic_dislike"
121+ android : dependency =" local_stream_extraction"
98122 android : summary =" @string/local_ryd_summary"
99123 android : title =" @string/local_ryd"
100- android : dependency =" local_stream_extraction"
101124 app : key =" local_return_youtube_dislikes" />
102125
103126 </PreferenceCategory >
104127
105- <PreferenceCategory app : title =" @string/subscriptions" >
106-
107- <SwitchPreferenceCompat
108- android : defaultValue =" false"
109- android : icon =" @drawable/ic_region"
110- android : summary =" @string/local_feed_extraction_summary"
111- android : title =" @string/local_feed_extraction"
112- app : key =" local_feed_extraction" />
113-
114- </PreferenceCategory >
115-
116128</PreferenceScreen >
0 commit comments