Cherish: Add toggle for floating notification dismiss button [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2021-03-26 10:00:07 +07:00
committed by Hưng Phan
parent b305bebd5c
commit 19109ddd26
2 changed files with 11 additions and 0 deletions

View File

@@ -1147,4 +1147,8 @@
<string name="always_on_display_schedule_sunrise">Sunrise</string>
<string name="always_on_display_schedule_mixed_sunset">Turns on from sunset till a time</string>
<string name="always_on_display_schedule_mixed_sunrise">Turns on from a time till sunrise</string>
<!-- OOS clear all button -->
<string name="enable_clear_all_button">Clear-All button</string>
<string name="enable_clear_all_button_summary">Enable to use a bottom-centered button instead of stock Clear All text</string>
</resources>

View File

@@ -79,6 +79,13 @@
android:defaultValue="0" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_material_dismiss"
android:icon="@drawable/ic_notification_clear_all"
android:title="@string/enable_clear_all_button"
android:summary="@string/enable_clear_all_button_summary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/qs_show_brightness_slider_title">