Merge pull request #1871 from jotomo/tidepool-prefs-category

Fix Tidepool prefs header not showing
This commit is contained in:
Milos Kozak 2019-07-14 13:22:54 +02:00 committed by GitHub
commit 6e6d21438b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 53 deletions

View file

@ -1333,7 +1333,6 @@
<string name="key_tidepool_test_login" translatable="false">tidepool_test_login</string>
<string name="key_tidepool_only_while_charging" translatable="false">tidepool_only_while_charging</string>
<string name="key_tidepool_only_while_unmetered" translatable="false">tidepool_only_while_unmetered</string>
<string name="summary_tidepool_upload_screen">Upload data to the Tidepool service</string>
<string name="summary_tidepool_username">Your Tidepool login user name, normally your email address</string>
<string name="title_tidepool_username">Login User Name</string>
<string name="summary_tidepool_password">Your Tidepool login password</string>

View file

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:key="tidepool_upload_screen"
android:summary="@string/summary_tidepool_upload_screen"
android:title="@string/tidepool">
<EditTextPreference
@ -53,5 +54,7 @@
android:summary="Upload data only when connected to an unmetered network like Wifi"
android:title="Only on Wifi" />
</PreferenceCategory>
</PreferenceScreen>