diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java index 49d4e4e03f..155cdb3f54 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java @@ -1110,14 +1110,14 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo String openingHoursStr = ""; if (openingHoursInfo.isOpened24_7()) { openingHoursStr = getString(R.string.shared_string_is_open_24_7); - } else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningTime())) { - openingHoursStr = getString(R.string.opened_from) + " " + openingHoursInfo.getOpeningTime(); } else if (!Algorithms.isEmpty(openingHoursInfo.getNearToOpeningTime())) { openingHoursStr = getString(R.string.will_be_opened_at) + " " + openingHoursInfo.getNearToOpeningTime(); - } else if (!Algorithms.isEmpty(openingHoursInfo.getClosingTime())) { - openingHoursStr = getString(R.string.opened_till) + " " + openingHoursInfo.getClosingTime(); + } else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningTime())) { + openingHoursStr = getString(R.string.opened_from) + " " + openingHoursInfo.getOpeningTime(); } else if (!Algorithms.isEmpty(openingHoursInfo.getNearToClosingTime())) { openingHoursStr = getString(R.string.will_be_closed_at) + " " + openingHoursInfo.getNearToClosingTime(); + } else if (!Algorithms.isEmpty(openingHoursInfo.getClosingTime())) { + openingHoursStr = getString(R.string.opened_till) + " " + openingHoursInfo.getClosingTime(); } else if (!Algorithms.isEmpty(openingHoursInfo.getOpeningDay())) { openingHoursStr = getString(R.string.will_be_opened_on) + " " + openingHoursInfo.getOpeningDay() + "."; }