Skip to content

Commit

Permalink
only get shareServices for URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Sep 22, 2023
1 parent 64a8a55 commit ad4387c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Sharing/SharingMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private extension [NSSharingService] {

static var urlSharingServices: [NSSharingService] {
// not real sharing URL, used for generating items for NSURL and NSString
NSSharingService.sharingServices(forItems: [URL.duckDuckGo, ""]).filter {
NSSharingService.sharingServices(forItems: [URL.duckDuckGo]).filter {
$0 != NSSharingService.addToSafariReadingList
}
}
Expand Down

0 comments on commit ad4387c

Please sign in to comment.