Merge pull request #305 from michaeljtsai/master
Share button now supports "EagleFiler Import" and "Add to Reading List".
This commit is contained in:
commit
144bccd45e
|
@ -31,12 +31,12 @@ import Data
|
|||
|
||||
func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
|
||||
|
||||
var types = [ArticlePasteboardWriter.articleUTIType, .string]
|
||||
var types = [ArticlePasteboardWriter.articleUTIType]
|
||||
|
||||
if let link = article.preferredLink, let _ = URL(string: link) {
|
||||
types += [.URL]
|
||||
}
|
||||
types += [.html, ArticlePasteboardWriter.articleUTIInternalType]
|
||||
types += [.string, .html, ArticlePasteboardWriter.articleUTIInternalType]
|
||||
|
||||
return types
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue