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:
parent
a5a3e57a34
commit
bfdc24ab87
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user