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:
@@ -920,5 +920,8 @@
|
|||||||
<string name="lockscreen_weather_title">Weather condition</string>
|
<string name="lockscreen_weather_title">Weather condition</string>
|
||||||
<string name="lockscreen_weather_summary">Display current weather condition and temperature</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_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>
|
</resources>
|
||||||
|
|||||||
@@ -58,6 +58,12 @@
|
|||||||
android:key="lockscreen_weather_enabled"
|
android:key="lockscreen_weather_enabled"
|
||||||
android:title="@string/lockscreen_weather_title"
|
android:title="@string/lockscreen_weather_title"
|
||||||
android:summary="@string/lockscreen_weather_summary"/>
|
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 -->
|
<!-- Udfps options -->
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
|
|||||||
Reference in New Issue
Block a user