forked from organicmaps/organicmaps-tmp
Small fixes in bookmarks catalog
This commit is contained in:
parent
b6a57aceae
commit
1f89e46fd0
3 changed files with 3 additions and 7 deletions
|
@ -421,7 +421,7 @@ public class Holders
|
|||
private List<String> getSections()
|
||||
{
|
||||
final List<String> sections = new ArrayList<>();
|
||||
sections.add(mView.getContext().getString(R.string.tracks));
|
||||
sections.add(mView.getContext().getString(R.string.tracks_title));
|
||||
sections.add(mView.getContext().getString(R.string.bookmarks));
|
||||
sections.add(mView.getContext().getString(R.string.description));
|
||||
return sections;
|
||||
|
|
|
@ -101,7 +101,7 @@ CGFloat const kPinDiameter = 18.0f;
|
|||
case Section::Info:
|
||||
return L(@"placepage_place_description");
|
||||
case Section::Track:
|
||||
return L(@"tracks");
|
||||
return L(@"tracks_title");
|
||||
case Section::Bookmark:
|
||||
return L(@"bookmarks");
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "map/bookmark_catalog.hpp"
|
||||
#include "map/bookmark_helpers.hpp"
|
||||
|
||||
#include "platform/platform.hpp"
|
||||
|
||||
|
@ -22,10 +21,7 @@ std::string BuildCatalogDownloadUrl(std::string const & serverId)
|
|||
{
|
||||
if (kCatalogDownloadServer.empty())
|
||||
return {};
|
||||
|
||||
std::ostringstream ss;
|
||||
ss << kCatalogDownloadServer << serverId << kKmzExtension;
|
||||
return ss.str();
|
||||
return kCatalogDownloadServer + serverId;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue