From 82e99d92c8ace67cd18a118815f9366477f44ee5 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 8 Dec 2017 18:45:05 +0200 Subject: [PATCH] Fix time --- .../plus/mapcontextmenu/MapContextMenuFragment.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() + "."; }