Merge mac-release.
This commit is contained in:
commit
ecc8854f59
|
@ -47,7 +47,13 @@ extension Article {
|
|||
}
|
||||
|
||||
var preferredLink: String? {
|
||||
return url ?? externalURL
|
||||
if let url = url, !url.isEmpty {
|
||||
return url
|
||||
}
|
||||
if let externalURL = externalURL, !externalURL.isEmpty {
|
||||
return externalURL
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var body: String? {
|
||||
|
|
Loading…
Reference in New Issue