Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Add the corresponding ListPreference items for the updated settings; #…
Browse files Browse the repository at this point in the history
…187 - subtask
  • Loading branch information
jasmanpreet0209 committed Nov 17, 2023
1 parent 9773c06 commit ec631f6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/res/xml/settings_defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
android:key="@string/stats_rate_key"
android:title="@string/settings_stats_rate_title"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:defaultValue="@string/weight_unit_default"
android:entries="@array/weight_unit_options"
android:entryValues="@array/weight_unit_values"
android:key="@string/weight_unit_key"
android:title="@string/settings_weight_title"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:defaultValue="@string/temperature_unit_default"
android:entries="@array/temperature_unit_options"
android:entryValues="@array/temperature_unit_values"
android:key="@string/temperature_unit_key"
android:title="@string/settings_temperature_title"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>

<PreferenceCategory android:title="@string/settings_activity_defaults_category">
Expand Down

0 comments on commit ec631f6

Please sign in to comment.