1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-03 08:52:58 +01:00

Reminders: add summary and dependence to the 'Reminders to reserve for upcoming events' preference

This commit is contained in:
vanous 2021-12-11 23:17:27 +01:00
parent 710b6f6699
commit 8415289917
2 changed files with 4 additions and 1 deletions

View File

@ -599,6 +599,7 @@
<string name="fwinstaller_firmware_not_compatible_to_device">This firmware is not compatible with the device</string>
<string name="miband_prefs_reserve_alarm_calendar">Alarms to reserve for upcoming events</string>
<string name="miband_prefs_reserve_reminder_calendar">Reminders to reserve for upcoming events</string>
<string name="prefs_reserve_reminder_calendar_summary">Number of calendar events that will be synchronized</string>
<string name="miband_prefs_hr_sleep_detection">Use heart rate sensor to improve sleep detection</string>
<string name="miband_prefs_device_time_offset_hours">Device time offset in hours (for detecting sleep of shift workers)</string>
<string name="prefs_find_phone">Find phone</string>

View File

@ -4,10 +4,12 @@
<EditTextPreference
android:icon="@drawable/ic_access_alarms"
android:defaultValue="9"
android:dependency="sync_calendar"
android:digits="0123"
android:inputType="number"
android:key="reserve_reminders_calendar"
android:maxLength="1"
android:title="@string/miband_prefs_reserve_reminder_calendar" />
android:title="@string/miband_prefs_reserve_reminder_calendar"
android:summary="@string/prefs_reserve_reminder_calendar_summary" />
</androidx.preference.PreferenceScreen>