[ios] rename finishShareCategory to finishSharing

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2025-02-19 19:56:01 +04:00 committed by Roman Tsisyk
parent 98ef2d61fb
commit 83994a247e
5 changed files with 5 additions and 5 deletions

View file

@ -124,7 +124,7 @@ NS_SWIFT_NAME(BookmarksManager)
@param fileType Text/Binary/GPX @param fileType Text/Binary/GPX
*/ */
- (void)shareTrack:(MWMTrackID)trackId fileType:(MWMKmlFileType)fileType completion:(SharingResultCompletionHandler)completion; - (void)shareTrack:(MWMTrackID)trackId fileType:(MWMKmlFileType)fileType completion:(SharingResultCompletionHandler)completion;
- (void)finishShareCategory; - (void)finishSharing;
- (void)setNotificationsEnabled:(BOOL)enabled; - (void)setNotificationsEnabled:(BOOL)enabled;
- (BOOL)areNotificationsEnabled; - (BOOL)areNotificationsEnabled;

View file

@ -651,7 +651,7 @@ static KmlFileType convertFileTypeToCore(MWMKmlFileType fileType) {
completion(status, urlToALocalFile); completion(status, urlToALocalFile);
} }
- (void)finishShareCategory { - (void)finishSharing {
if (!self.shareCategoryURL) if (!self.shareCategoryURL)
return; return;

View file

@ -158,7 +158,7 @@ extension BookmarksListInteractor: IBookmarksListInteractor {
} }
func finishExportFile() { func finishExportFile() {
bookmarksManager.finishShareCategory() bookmarksManager.finishSharing()
} }
func addToBookmarksManagerObserverList() { func addToBookmarksManagerObserverList() {

View file

@ -163,7 +163,7 @@ extension BMCDefaultViewModel {
} }
func finishShareCategory() { func finishShareCategory() {
manager.finishShareCategory() manager.finishSharing()
} }
func addToObserverList() { func addToObserverList() {

View file

@ -316,7 +316,7 @@ extension PlacePageInteractor: PlacePageHeaderViewControllerDelegate {
case .success: case .success:
guard let url else { fatalError("Invalid sharing url") } guard let url else { fatalError("Invalid sharing url") }
let shareViewController = ActivityViewController.share(for: url, message: self.placePageData.previewData.title!) { _,_,_,_ in let shareViewController = ActivityViewController.share(for: url, message: self.placePageData.previewData.title!) { _,_,_,_ in
self.bookmarksManager.finishShareCategory() self.bookmarksManager.finishSharing()
} }
shareViewController.present(inParentViewController: mapViewController, anchorView: sourceView) shareViewController.present(inParentViewController: mapViewController, anchorView: sourceView)
case .emptyCategory: case .emptyCategory: