fixes p.1
This commit is contained in:
parent
5d1bd56dd9
commit
b972dfb748
1 changed files with 1 additions and 5 deletions
|
@ -363,11 +363,7 @@ public class RouteParametersFragment extends BaseSettingsFragment implements OnP
|
|||
String summary = String.format(getString(R.string.ltr_or_rtl_combine_via_bold_point),
|
||||
enabled ? getString(R.string.shared_string_enabled) : getString(R.string.shared_string_disabled),
|
||||
OsmAndFormatter.getFormattedDistance(allowedValue, app, false));
|
||||
if (enabled) {
|
||||
switchPref.setSummaryOn(summary);
|
||||
} else {
|
||||
switchPref.setSummaryOff(summary);
|
||||
}
|
||||
switchPref.setSummary(summary);
|
||||
switchPref.setChecked(enabled);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue