Cherish: Make weather location on lockscreen optional [2/2]

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2022-10-15 12:42:14 +05:30
committed by Hưng Phan
parent 7f3e5ae48a
commit 05c66c10b7
2 changed files with 9 additions and 0 deletions

View File

@@ -920,5 +920,8 @@
<string name="lockscreen_weather_title">Weather condition</string>
<string name="lockscreen_weather_summary">Display current weather condition and temperature</string>
<string name="lockscreen_weather_enabled_info">Requires weather service to be enabled</string>
<string name="lockscreen_weather_location_title">Weather location</string>
<string name="lockscreen_weather_location_summary">Display current weather location</string>
</resources>

View File

@@ -58,6 +58,12 @@
android:key="lockscreen_weather_enabled"
android:title="@string/lockscreen_weather_title"
android:summary="@string/lockscreen_weather_summary"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_location"
android:title="@string/lockscreen_weather_location_title"
android:summary="@string/lockscreen_weather_location_summary"
android:dependency="lockscreen_weather_enabled" />
<!-- Udfps options -->
<PreferenceCategory