Remove lowercase Fix #7947

This commit is contained in:
Victor Shcherb 2020-01-14 17:16:58 +01:00
parent a883177d7c
commit 6c93dc4878

View file

@ -319,8 +319,8 @@ public class AddPointBottomSheetDialog extends MenuBottomSheetDialogFragment {
final View switchStartAndEndView = View.inflate(new ContextThemeWrapper(getContext(), themeRes), R.layout.bottom_sheet_item_simple_56dp, null); final View switchStartAndEndView = View.inflate(new ContextThemeWrapper(getContext(), themeRes), R.layout.bottom_sheet_item_simple_56dp, null);
TextView title = (TextView) switchStartAndEndView.findViewById(R.id.title); TextView title = (TextView) switchStartAndEndView.findViewById(R.id.title);
String start = getString(R.string.route_start_point).toLowerCase(); String start = getString(R.string.route_start_point);
String destination = getString(R.string.route_descr_destination).toLowerCase(); String destination = getString(R.string.route_descr_destination);
String titleS = getString(R.string.swap_two_places, start, destination); String titleS = getString(R.string.swap_two_places, start, destination);
SpannableString titleSpan = new SpannableString(titleS); SpannableString titleSpan = new SpannableString(titleS);
int startIndex = titleS.indexOf(start); int startIndex = titleS.indexOf(start);