Cherish: Add back footer text

This reverts commit 45c73083bd.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-09-01 09:25:44 +07:00
parent 0979fe036f
commit 10aadd9e46
3 changed files with 48 additions and 1 deletions

View File

@@ -646,6 +646,12 @@
<string name="lockscreen_weather_show_image_title">Show Condition Image</string>
<string name="lockscreen_weather_show_image_summary">Show weather conditions image</string>
<!-- QS Footer Text -->
<string name="qs_footer_text_title">QS footer text</string>
<string name="qs_footer_text_summary">Display text at bottom of QS panel</string>
<string name="qs_footer_text_string_title">Customize footer text</string>
<string name="qs_footer_text_string_summary">Set to empty for default #KeepTheLove</string>
<!-- Navbar options -->
<string name="navigation_bar_invert_layout_title">Invert layout</string>
<string name="navigation_bar_invert_layout_summary">Inverts the layout of the navigation bar and other items, such as the IME switcher</string>

View File

@@ -54,6 +54,22 @@
android:summary="@string/qs_footer_datausage_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="omni_footer_text_show"
android:icon="@drawable/ic_edit_show"
android:title="@string/qs_footer_text_title"
android:summary="@string/qs_footer_text_summary"
android:defaultValue="false"/>
<!-- QS footer text string -->
<com.cherish.settings.preferences.SystemSettingEditTextPreference
android:key="footer_text_string"
android:icon="@drawable/ic_edit1"
android:title="@string/qs_footer_text_string_title"
android:summary="@string/qs_footer_text_string_summary"
android:dependency="omni_footer_text_show"
android:defaultValue="#KeeptheLove" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_edit"
android:icon="@drawable/ic_edit1"