Cherish: Allow hiding auto brightness toggle [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Ido Ben-Hur
2020-10-11 04:30:34 +03:00
committed by Hưng Phan
parent 9a8e252169
commit b91906f424
2 changed files with 9 additions and 0 deletions

View File

@@ -301,6 +301,8 @@
<string name="qs_show_brightness_summary">Brightness slider visability and settings</string>
<string name="qs_brightness_position_bottom_title">Bottom brightness slider</string>
<string name="qs_brightness_position_bottom_summary">Show the brightness slider on the bottom of QS</string>
<string name="qs_show_auto_brightness_title">Auto brightness icon</string>
<string name="qs_show_auto_brightness_summary">Show an auto brightness toggle near the brightness slider</string>
<!-- Battery Styles -->
<string name="battery_style_category_title">Battery level</string>

View File

@@ -22,4 +22,11 @@
android:summary="@string/qs_brightness_position_bottom_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_auto_brightness"
android:icon="@drawable/ic_brightness"
android:title="@string/qs_show_auto_brightness_title"
android:summary="@string/qs_show_auto_brightness_summary"
android:defaultValue="true" />
</PreferenceScreen>