diff --git a/iphone/Maps/Bookmarks/Categories/BMCView/BMCViewController.swift b/iphone/Maps/Bookmarks/Categories/BMCView/BMCViewController.swift index 863dde4e57..d27c11bcb1 100644 --- a/iphone/Maps/Bookmarks/Categories/BMCView/BMCViewController.swift +++ b/iphone/Maps/Bookmarks/Categories/BMCView/BMCViewController.swift @@ -160,14 +160,6 @@ final class BMCViewController: MWMViewController { Statistics.logEvent(kStatBookmarksListSettingsClick, withParameters: [kStatOption : kStatSendAsFile]) })) - let share = L("sharing_options") - let shareAction = UIAlertAction(title: share, style: .default, handler: { _ in - self.shareCategory(category: category, anchor: anchor) - Statistics.logEvent(kStatBookmarksListSettingsClick, - withParameters: [kStatOption : kStatSharingOptions]) - }) - shareAction.isEnabled = BookmarksManager.shared().isCategoryNotEmpty(category.categoryId) - actionSheet.addAction(shareAction) let delete = L("delete_list") let deleteAction = UIAlertAction(title: delete, style: .destructive, handler: { [viewModel] _ in viewModel!.deleteCategory(at: index) diff --git a/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift b/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift index 8459db1661..3a7fd5b1d1 100644 --- a/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift +++ b/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift @@ -66,9 +66,6 @@ final class BMCDefaultViewModel: NSObject { func reloadData() { sections = [] - sections.append(.permissions) - setPermissions() - if manager.areBookmarksLoaded() { sections.append(.categories) setCategories()