Cherish: Add toggles for new reticker styles[2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Trishiraj
2022-11-14 00:08:27 +07:00
committed by Hưng Phan
parent c5a0bd55ef
commit 064a312c8c
5 changed files with 38 additions and 1 deletions

View File

@@ -550,6 +550,10 @@
<!-- reTicker -->
<string name="reticker_title">reTicker</string>
<string name="reticker_summary">Thay thế thông báo nổi bằng thông báo kiểu mới được thiết kế lại mỏng và ít xâm lấn hơn</string>
<string name="new_reticker_title">Thay thế reTicker</string>
<string name="new_reticker_summary">Sử dụng bố cục thay thế cho reticker lấy cảm hứng từ ios</string>
<string name="new_reticker_animation_title">Hoạt ảnh reTicker thay thế</string>
<string name="new_reticker_animation_summary">Sử dụng một hoạt ảnh khác cho reticker (được bật theo mặc định trên reticker thay thế)</string>
<string name="reticker_colored_title">Sử dụng nền màu ứng dụng</string>
<string name="reticker_colored_summary">Thay thế màu nền reTicker bằng màu chính của ứng dụng thông báo</string>
<!-- VoWiFi icon -->

View File

@@ -644,6 +644,10 @@
<string name="reticker_category" translatable="false">reTicker</string>
<string name="reticker_title">reTicker</string>
<string name="reticker_summary">Replace heads-up notification with slim and less invasive version of redesigned ticker</string>
<string name="new_reticker_title">Alternative reTicker</string>
<string name="new_reticker_summary">Use an alternative layout for reticker that is inspired from ios</string>
<string name="new_reticker_animation_title">Alternative reTicker animation</string>
<string name="new_reticker_animation_summary">Use a different animation for reticker (enabled by default on alternative reTicker)</string>
<string name="reticker_colored_title">Use app colored background</string>
<string name="reticker_colored_summary">Replace reTicker background color using notification app main color</string>

View File

@@ -95,6 +95,20 @@
android:title="@string/reticker_colored_title"
android:summary="@string/reticker_colored_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="new_reticker"
android:dependency="reticker_status"
android:title="@string/new_reticker_title"
android:summary="@string/new_reticker_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="new_reticker_animation"
android:dependency="reticker_status"
android:title="@string/new_reticker_animation_title"
android:summary="@string/new_reticker_animation_summary"
android:defaultValue="false" />
</PreferenceCategory>