Hotfix
This commit is contained in:
parent
0e9040c5f5
commit
e3350ef579
1 changed files with 14 additions and 11 deletions
|
@ -761,6 +761,7 @@ public class MapActivityActions implements DialogProvider {
|
||||||
final OsmandApplication app = mapActivity.getMyApplication();
|
final OsmandApplication app = mapActivity.getMyApplication();
|
||||||
ContextMenuAdapter optionsMenuHelper = new ContextMenuAdapter(app);
|
ContextMenuAdapter optionsMenuHelper = new ContextMenuAdapter(app);
|
||||||
|
|
||||||
|
if (Version.isSherpafy(app)) {
|
||||||
//share my location
|
//share my location
|
||||||
optionsMenuHelper.item(R.string.context_menu_item_share_location).icons(
|
optionsMenuHelper.item(R.string.context_menu_item_share_location).icons(
|
||||||
R.drawable.ic_action_gshare_dark, R.drawable.ic_action_gshare_light).listen(new OnContextMenuClick() {
|
R.drawable.ic_action_gshare_dark, R.drawable.ic_action_gshare_light).listen(new OnContextMenuClick() {
|
||||||
|
@ -773,6 +774,8 @@ public class MapActivityActions implements DialogProvider {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).reg();
|
}).reg();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 1. Where am I
|
// 1. Where am I
|
||||||
optionsMenuHelper.item(R.string.where_am_i).
|
optionsMenuHelper.item(R.string.where_am_i).
|
||||||
|
|
Loading…
Reference in a new issue