Cherish: Add shortcut to configure Weather settings

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-13 07:44:32 +05:30
committed by Hưng Phan
parent b5a5e80aea
commit e7b1693540
2 changed files with 14 additions and 0 deletions

View File

@@ -914,4 +914,8 @@
<string name="laboratory_parallel_space_title">Parallel space</string> <string name="laboratory_parallel_space_title">Parallel space</string>
<string name="laboratory_parallel_space_summary">Allow running multiple instances of the same application in parallel</string> <string name="laboratory_parallel_space_summary">Allow running multiple instances of the same application in parallel</string>
<!-- Weather -->
<string name="weather_settings_title">Weather settings</string>
<string name="weather_settings_summary">Setup icon pack and weather service</string>
</resources> </resources>

View File

@@ -58,6 +58,16 @@
android:summary="@string/use_photos_spoof_summary" android:summary="@string/use_photos_spoof_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<!-- Weather -->
<Preference
android:title="@string/weather_settings_title"
android:summary="@string/weather_settings_summary">
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnijaws"
android:targetClass="org.omnirom.omnijaws.SettingsActivity" />
</Preference>
<!-- Parallel space --> <!-- Parallel space -->
<Preference <Preference
android:key="parallel_space" android:key="parallel_space"