Cherish: Toggle data usage view on QS footer [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
travarilo
2021-07-28 08:13:14 +07:00
committed by Hưng Phan
parent 22c6bdeb11
commit 312baa84a2
2 changed files with 10 additions and 0 deletions

View File

@@ -1312,4 +1312,7 @@
<string name="pulse_empty_block_size">Block spacing</string>
<string name="pulse_solid_units_rounded_title">Solid lines rounded</string>
<string name="pulse_solid_units_rounded_summary">Round the solid lines</string>
<string name="qs_footer_datausage_title">Data usage</string>
<string name="qs_footer_datausage_summary">Display data usage summary in quick settings footer</string>
</resources>

View File

@@ -68,6 +68,13 @@
android:entries="@array/qs_datausage_entries"
android:entryValues="@array/qs_datausage_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_datausage"
android:icon="@drawable/ic_data"
android:title="@string/qs_footer_datausage_title"
android:summary="@string/qs_footer_datausage_summary"
android:defaultValue="true" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference