[andorid] Fixed sharing text message

This commit is contained in:
Александр Зацепин 2017-09-06 12:57:53 +03:00 committed by Vladimir Byko-Ianko
parent 9f8cd778d6
commit 44f6dfaf2a

View file

@ -42,7 +42,7 @@ class MapObjectShareable extends BaseShareable
lineWithBreak(ge0Url) +
lineWithBreak(httpUrl);
if (sponsored != null)
if (sponsored != null && sponsored.getType() == Sponsored.TYPE_BOOKING)
{
text += lineWithBreak(activity.getString(R.string.sharing_booking)) +
sponsored.getUrl();