1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-17 07:29:27 +01:00

Add auto export and auto fetch preference dependencies

This commit is contained in:
José Rebelo 2022-05-14 14:41:46 +01:00 committed by Gitea
parent a5a3e57a34
commit bfdc24ab87

View File

@ -337,10 +337,12 @@
android:key="auto_export_enabled" android:key="auto_export_enabled"
android:title="@string/pref_title_auto_export_enabled" /> android:title="@string/pref_title_auto_export_enabled" />
<Preference <Preference
android:dependency="auto_export_enabled"
android:key="auto_export_location" android:key="auto_export_location"
android:title="@string/pref_title_auto_export_location" android:title="@string/pref_title_auto_export_location"
android:summary="%s" /> android:summary="%s" />
<EditTextPreference <EditTextPreference
android:dependency="auto_export_enabled"
android:inputType="number" android:inputType="number"
android:key="auto_export_interval" android:key="auto_export_interval"
android:defaultValue="3" android:defaultValue="3"
@ -358,6 +360,7 @@
android:title="@string/pref_auto_fetch" android:title="@string/pref_auto_fetch"
android:summary="@string/pref_auto_fetch_summary"/> android:summary="@string/pref_auto_fetch_summary"/>
<EditTextPreference <EditTextPreference
android:dependency="auto_fetch_enabled"
android:inputType="number" android:inputType="number"
android:key="auto_fetch_interval_limit" android:key="auto_fetch_interval_limit"
android:defaultValue="0" android:defaultValue="0"