[ios] rename finishShareCategory
to finishSharing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
parent
98ef2d61fb
commit
83994a247e
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -651,7 +651,7 @@ static KmlFileType convertFileTypeToCore(MWMKmlFileType fileType) {
|
|||
completion(status, urlToALocalFile);
|
||||
}
|
||||
|
||||
- (void)finishShareCategory {
|
||||
- (void)finishSharing {
|
||||
if (!self.shareCategoryURL)
|
||||
return;
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ extension BookmarksListInteractor: IBookmarksListInteractor {
|
|||
}
|
||||
|
||||
func finishExportFile() {
|
||||
bookmarksManager.finishShareCategory()
|
||||
bookmarksManager.finishSharing()
|
||||
}
|
||||
|
||||
func addToBookmarksManagerObserverList() {
|
||||
|
|
|
@ -163,7 +163,7 @@ extension BMCDefaultViewModel {
|
|||
}
|
||||
|
||||
func finishShareCategory() {
|
||||
manager.finishShareCategory()
|
||||
manager.finishSharing()
|
||||
}
|
||||
|
||||
func addToObserverList() {
|
||||
|
|
|
@ -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:
|
||||
|
|
Reference in a new issue