Merge pull request #4222 from osmandapp/hide_mapillary_quick_actions
Hide mapillary when quick actions in clicked
This commit is contained in:
commit
7fa889b06f
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue