Wording change portion of #6637 ('Details' instead of 'Description')

This commit is contained in:
sonora 2019-03-08 18:38:07 +01:00
parent 0b27160c74
commit d3da6612b0

View file

@ -788,7 +788,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
int menuState = menu.getCurrentMenuState(); int menuState = menu.getCurrentMenuState();
final boolean showShowHideButton = menuState == MenuState.HALF_SCREEN || (!menu.isLandscapeLayout() && menuState == MenuState.FULL_SCREEN); final boolean showShowHideButton = menuState == MenuState.HALF_SCREEN || (!menu.isLandscapeLayout() && menuState == MenuState.FULL_SCREEN);
TextView detailsButton = (TextView) view.findViewById(R.id.context_menu_details_button); TextView detailsButton = (TextView) view.findViewById(R.id.context_menu_details_button);
detailsButton.setText(showShowHideButton ? R.string.shared_string_collapse : R.string.description); detailsButton.setText(showShowHideButton ? R.string.shared_string_collapse : R.string.rendering_category_details);
detailsButton.setOnClickListener(new View.OnClickListener() { detailsButton.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {