Hide mapillary when quick actions in clicked

This commit is contained in:
PavelRatushny 2017-07-27 18:58:54 +03:00 committed by Alexey Kulish
parent f2ce6550e4
commit 06843617c1

View file

@ -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());
}
}
});