From f8a81a1b1fd1f48468124618454ab781ffba6d8b Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Thu, 27 Jul 2017 18:58:54 +0300 Subject: [PATCH] Hide mapillary when quick actions in clicked --- OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java b/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java index 45939ba22f..5a6b47ed65 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java @@ -80,8 +80,10 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe quickActionButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - if (!showTutorialIfNeeded()) + mapActivity.dismissCardDialog(); + if (!showTutorialIfNeeded()) { setLayerState(!isWidgetVisible()); + } } });