diff --git a/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.h b/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.h index 5d9e537f6b..6c02ab31b9 100644 --- a/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.h +++ b/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.h @@ -124,7 +124,7 @@ NS_SWIFT_NAME(BookmarksManager) @param fileType Text/Binary/GPX */ - (void)shareTrack:(MWMTrackID)trackId fileType:(MWMKmlFileType)fileType completion:(SharingResultCompletionHandler)completion; -- (void)finishShareCategory; +- (void)finishSharing; - (void)setNotificationsEnabled:(BOOL)enabled; - (BOOL)areNotificationsEnabled; diff --git a/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.mm b/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.mm index 17fa862c22..bf9b0ba2db 100644 --- a/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.mm +++ b/iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.mm @@ -651,7 +651,7 @@ static KmlFileType convertFileTypeToCore(MWMKmlFileType fileType) { completion(status, urlToALocalFile); } -- (void)finishShareCategory { +- (void)finishSharing { if (!self.shareCategoryURL) return; diff --git a/iphone/Maps/Bookmarks/BookmarksList/BookmarksListInteractor.swift b/iphone/Maps/Bookmarks/BookmarksList/BookmarksListInteractor.swift index af144e5151..fb4dff1d24 100644 --- a/iphone/Maps/Bookmarks/BookmarksList/BookmarksListInteractor.swift +++ b/iphone/Maps/Bookmarks/BookmarksList/BookmarksListInteractor.swift @@ -158,7 +158,7 @@ extension BookmarksListInteractor: IBookmarksListInteractor { } func finishExportFile() { - bookmarksManager.finishShareCategory() + bookmarksManager.finishSharing() } func addToBookmarksManagerObserverList() { diff --git a/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift b/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift index 42baa86d67..6198d693e2 100644 --- a/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift +++ b/iphone/Maps/Bookmarks/Categories/BMCViewModel/BMCDefaultViewModel.swift @@ -163,7 +163,7 @@ extension BMCDefaultViewModel { } func finishShareCategory() { - manager.finishShareCategory() + manager.finishSharing() } func addToObserverList() { diff --git a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift index 78195ed680..bb2e8161b3 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageInteractor.swift @@ -316,7 +316,7 @@ extension PlacePageInteractor: PlacePageHeaderViewControllerDelegate { case .success: guard let url else { fatalError("Invalid sharing url") } let shareViewController = ActivityViewController.share(for: url, message: self.placePageData.previewData.title!) { _,_,_,_ in - self.bookmarksManager.finishShareCategory() + self.bookmarksManager.finishSharing() } shareViewController.present(inParentViewController: mapViewController, anchorView: sourceView) case .emptyCategory: