forked from organicmaps/organicmaps
Fixed shared bookmarks loading
This commit is contained in:
parent
d81d37f3cb
commit
12df5fe344
1 changed files with 2 additions and 2 deletions
|
@ -1029,9 +1029,9 @@ void BookmarkManager::LoadBookmarks()
|
|||
|
||||
std::vector<std::string> cloudFilePaths;
|
||||
auto collection = LoadBookmarks(dir, filesExt, migrated ? KmlFileType::Binary : KmlFileType::Text,
|
||||
[userId](kml::FileData const & kmlData)
|
||||
[](kml::FileData const & kmlData)
|
||||
{
|
||||
return ::IsMyCategory(userId, kmlData.m_categoryData) || !FromCatalog(kmlData);
|
||||
return true; // Allow to load any files from the bookmarks directory.
|
||||
}, cloudFilePaths);
|
||||
|
||||
migration::FixUpHotelPlacemarks(collection, isMigrationCompleted);
|
||||
|
|
Loading…
Add table
Reference in a new issue