... |
... |
@@ -4,33 +4,32 @@ |
4
|
4
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
5
|
5
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
6
|
6
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
7
|
|
-<!-- Remove as part of tor-browser#42076 : https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/42076 -->
|
8
|
|
-<!-- <androidx.preference.PreferenceCategory-->
|
9
|
|
-<!-- android:layout="@layout/preference_cat_style"-->
|
10
|
|
-<!-- android:title="@string/preferences_theme"-->
|
11
|
|
-<!-- app:iconSpaceReserved="false">-->
|
12
|
|
-<!-- <org.mozilla.fenix.settings.RadioButtonPreference-->
|
13
|
|
-<!-- android:defaultValue="@bool/underAPI28"-->
|
14
|
|
-<!-- android:key="@string/pref_key_light_theme"-->
|
15
|
|
-<!-- android:title="@string/preference_light_theme" />-->
|
16
|
|
-<!---->
|
17
|
|
-<!-- <org.mozilla.fenix.settings.RadioButtonPreference-->
|
18
|
|
-<!-- android:defaultValue="false"-->
|
19
|
|
-<!-- android:key="@string/pref_key_dark_theme"-->
|
20
|
|
-<!-- android:title="@string/preference_dark_theme" />-->
|
21
|
|
-<!---->
|
22
|
|
-<!-- <org.mozilla.fenix.settings.RadioButtonPreference-->
|
23
|
|
-<!-- android:defaultValue="false"-->
|
24
|
|
-<!-- android:key="@string/pref_key_auto_battery_theme"-->
|
25
|
|
-<!-- android:title="@string/preference_auto_battery_theme"-->
|
26
|
|
-<!-- app:isPreferenceVisible="@bool/underAPI28" />-->
|
27
|
|
-<!---->
|
28
|
|
-<!-- <org.mozilla.fenix.settings.RadioButtonPreference-->
|
29
|
|
-<!-- android:defaultValue="@bool/API28"-->
|
30
|
|
-<!-- android:key="@string/pref_key_follow_device_theme"-->
|
31
|
|
-<!-- android:title="@string/preference_follow_device_theme"-->
|
32
|
|
-<!-- app:isPreferenceVisible="@bool/API28" />-->
|
33
|
|
-<!-- </androidx.preference.PreferenceCategory>-->
|
|
7
|
+ <androidx.preference.PreferenceCategory
|
|
8
|
+ android:layout="@layout/preference_cat_style"
|
|
9
|
+ android:title="@string/preferences_theme"
|
|
10
|
+ app:iconSpaceReserved="false">
|
|
11
|
+ <org.mozilla.fenix.settings.RadioButtonPreference
|
|
12
|
+ android:defaultValue="@bool/underAPI28"
|
|
13
|
+ android:key="@string/pref_key_light_theme"
|
|
14
|
+ android:title="@string/preference_light_theme" />
|
|
15
|
+
|
|
16
|
+ <org.mozilla.fenix.settings.RadioButtonPreference
|
|
17
|
+ android:defaultValue="false"
|
|
18
|
+ android:key="@string/pref_key_dark_theme"
|
|
19
|
+ android:title="@string/preference_dark_theme" />
|
|
20
|
+
|
|
21
|
+ <org.mozilla.fenix.settings.RadioButtonPreference
|
|
22
|
+ android:defaultValue="false"
|
|
23
|
+ android:key="@string/pref_key_auto_battery_theme"
|
|
24
|
+ android:title="@string/preference_auto_battery_theme"
|
|
25
|
+ app:isPreferenceVisible="@bool/underAPI28" />
|
|
26
|
+
|
|
27
|
+ <org.mozilla.fenix.settings.RadioButtonPreference
|
|
28
|
+ android:defaultValue="@bool/API28"
|
|
29
|
+ android:key="@string/pref_key_follow_device_theme"
|
|
30
|
+ android:title="@string/preference_follow_device_theme"
|
|
31
|
+ app:isPreferenceVisible="@bool/API28" />
|
|
32
|
+ </androidx.preference.PreferenceCategory>
|
34
|
33
|
|
35
|
34
|
<androidx.preference.PreferenceCategory
|
36
|
35
|
android:layout="@layout/preference_cat_style"
|