Merge pull request #4222 from osmandapp/hide_mapillary_quick_actions

Hide mapillary when quick actions in clicked
This commit is contained in:
Alexey 2017-07-28 12:32:04 +03:00 committed by GitHub
commit 7fa889b06f

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