Skip to content

Commit

Permalink
FXIOS-6815 mozilla-mobile#15172 Add link to home screen option not av…
Browse files Browse the repository at this point in the history
…ailable
  • Loading branch information
razvanlitianu committed Dec 19, 2023
1 parent 8ba3b62 commit ffa3dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Coordinators/ShareExtensionCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ShareExtensionCoordinator: BaseCoordinator, DevicePickerViewControllerDele
/// Presents the Share extension from the source view
func start(url: URL, sourceView: UIView, sourceRect: CGRect? = nil, popoverArrowDirection: UIPopoverArrowDirection = .up) {
let shareExtension = ShareExtensionHelper(url: url, tab: tabManager.selectedTab)
let controller = shareExtension.createActivityViewController { [weak self] completed, activityType in
let controller = shareExtension.createActivityViewController(tabManager.selectedTab?.webView) { [weak self] completed, activityType in
guard let self = self else { return }
self.handleShareExtensionCompletion(activityType: activityType, url: url)
}
Expand Down

0 comments on commit ffa3dc7

Please sign in to comment.