forked from upstream-mirrors/OpenTracks
Bugfix: preferred speed for nautical setting was not showing correct options.
This commit is contained in:
@@ -71,8 +71,10 @@ public class DefaultsSettingsFragment extends PreferenceFragmentCompat implement
|
|||||||
|
|
||||||
int entriesId = switch (unitSystem) {
|
int entriesId = switch (unitSystem) {
|
||||||
case METRIC -> R.array.stats_rate_metric_options;
|
case METRIC -> R.array.stats_rate_metric_options;
|
||||||
case IMPERIAL_FEET, IMPERIAL_METER, NAUTICAL_IMPERIAL ->
|
case IMPERIAL_FEET, IMPERIAL_METER ->
|
||||||
R.array.stats_rate_imperial_options;
|
R.array.stats_rate_imperial_options;
|
||||||
|
case NAUTICAL_IMPERIAL ->
|
||||||
|
R.array.stats_rate_nautical_options;
|
||||||
};
|
};
|
||||||
|
|
||||||
String[] entries = getResources().getStringArray(entriesId);
|
String[] entries = getResources().getStringArray(entriesId);
|
||||||
|
|||||||
@@ -268,7 +268,7 @@
|
|||||||
<string name="publicapi_dashboard_enabled_key" translatable="false">apiDashboardEnabledKey</string>
|
<string name="publicapi_dashboard_enabled_key" translatable="false">apiDashboardEnabledKey</string>
|
||||||
<bool name="publicapi_dashboard_enabled_default">false</bool>
|
<bool name="publicapi_dashboard_enabled_default">false</bool>
|
||||||
|
|
||||||
<string name="show_introduction_screen_key">showIntroduction</string>
|
<string name="show_introduction_screen_key" translatable="false">showIntroduction</string>
|
||||||
<bool name="show_introduction_screen_default">true</bool>
|
<bool name="show_introduction_screen_default">true</bool>
|
||||||
|
|
||||||
<!-- androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode() -->
|
<!-- androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode() -->
|
||||||
|
|||||||
Reference in New Issue
Block a user