diff --git a/iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageButtonsData.mm b/iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageButtonsData.mm index 9155eeab3..3b2bacea1 100644 --- a/iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageButtonsData.mm +++ b/iphone/CoreApi/CoreApi/PlacePageData/Common/PlacePageButtonsData.mm @@ -9,7 +9,7 @@ - (instancetype)initWithRawData:(place_page::Info const &)rawData { self = [super init]; if (self) { - _showAddPlace = rawData.ShouldShowAddPlace(); + _showAddPlace = rawData.ShouldShowAddPlace() || rawData.ShouldShowAddBusiness(); _showEditPlace = rawData.ShouldShowEditPlace(); _enableAddPlace = rawData.ShouldEnableAddPlace(); _enableEditPlace = rawData.ShouldEnableEditPlace(); diff --git a/map/place_page_info.hpp b/map/place_page_info.hpp index ff1651650..649c68c6f 100644 --- a/map/place_page_info.hpp +++ b/map/place_page_info.hpp @@ -115,7 +115,7 @@ public: /// Edit and add bool ShouldShowAddPlace() const; - bool ShouldShowAddBusiness() const { return m_canEditOrAdd && IsBuilding(); } + bool ShouldShowAddBusiness() const { return IsBuilding(); } bool ShouldShowEditPlace() const; bool ShouldEnableAddPlace() const { return m_canEditOrAdd; };