Hide mapillary when quick actions in clicked

This commit is contained in:
PavelRatushny 2017-07-27 18:58:54 +03:00
parent 2624ecaef0
commit f8a81a1b1f

View file

@ -80,8 +80,10 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
quickActionButton.setOnClickListener(new View.OnClickListener() { quickActionButton.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
if (!showTutorialIfNeeded()) mapActivity.dismissCardDialog();
if (!showTutorialIfNeeded()) {
setLayerState(!isWidgetVisible()); setLayerState(!isWidgetVisible());
}
} }
}); });