Display map type in context menu

This commit is contained in:
PavelRatushny 2017-12-29 13:47:42 +02:00
parent d98c7c3d37
commit ab81309e18

View file

@ -253,6 +253,10 @@ public class MapDataMenuController extends MenuController {
} else { } else {
res = getMapActivity().getString(R.string.shared_string_map); res = getMapActivity().getString(R.string.shared_string_map);
} }
DownloadActivityType downloadActivityType = getDownloadActivityType();
if (downloadActivityType != null) {
res += ", " + downloadActivityType.getString(getMapActivity());
}
if (getMenuType() == MenuType.STANDARD) { if (getMenuType() == MenuType.STANDARD) {
res += "\n"; res += "\n";
} }