forked from organicmaps/organicmaps
Fix with coordinates copying.
This commit is contained in:
parent
92f962cd3d
commit
aa4cedf08b
1 changed files with 4 additions and 7 deletions
|
@ -813,13 +813,10 @@ public class PlacePageView extends RelativeLayout implements View.OnClickListene
|
|||
public boolean onMenuItemClick(MenuItem item)
|
||||
{
|
||||
final int id = item.getItemId();
|
||||
if (id >= 0 && id < 1)
|
||||
{
|
||||
final Context ctx = getContext();
|
||||
Utils.copyTextToClipboard(ctx, items.get(id));
|
||||
Utils.toastShortcut(ctx, ctx.getString(R.string.copied_to_clipboard, items.get(id)));
|
||||
AlohaHelper.logClick(AlohaHelper.PP_METADATA_COPY + ":" + tagStr);
|
||||
}
|
||||
final Context ctx = getContext();
|
||||
Utils.copyTextToClipboard(ctx, items.get(id));
|
||||
Utils.toastShortcut(ctx, ctx.getString(R.string.copied_to_clipboard, items.get(id)));
|
||||
AlohaHelper.logClick(AlohaHelper.PP_METADATA_COPY + ":" + tagStr);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue