Cherish:Toast icon switch [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
LorDClockaN
2022-09-06 22:30:57 +07:00
committed by Hưng Phan
parent 1128b79603
commit 1b456a242e
2 changed files with 11 additions and 0 deletions

View File

@@ -498,4 +498,8 @@
<!-- Notification guts kill app button -->
<string name="notification_guts_kill_app_button_title">Force stop button</string>
<string name="notification_guts_kill_app_button_summary">Show force stop button in the notification\'s longpress menu</string>
<!-- Toast app icon -->
<string name="toast_icon_title">Toast app icon</string>
<string name="toast_icon_summary">Display the app\'s icon corresponding with the toast</string>
</resources>

View File

@@ -75,6 +75,13 @@
android:title="@string/notification_guts_kill_app_button_title"
android:summary="@string/notification_guts_kill_app_button_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="toast_icon"
android:order="24"
android:title="@string/toast_icon_title"
android:summary="@string/toast_icon_summary"
android:defaultValue="true"/>
</PreferenceCategory>