Hide mapillary when quick actions in clicked
This commit is contained in:
parent
2624ecaef0
commit
f8a81a1b1f
1 changed files with 3 additions and 1 deletions
|
@ -80,9 +80,11 @@ 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());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Context context = view.getContext();
|
Context context = view.getContext();
|
||||||
|
|
Loading…
Reference in a new issue