mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
Correct found order merge
This commit is contained in:
parent
aa73b24291
commit
38dbfa6f4a
@ -31,7 +31,7 @@ struct FeedSpecifier: Hashable {
|
||||
|
||||
let mergedTitle = title ?? feedSpecifier.title
|
||||
let mergedSource = source.equalToOrBetterThan(feedSpecifier.source) ? source : feedSpecifier.source
|
||||
let mergedOrderFound = orderFound >= feedSpecifier.orderFound ? orderFound : feedSpecifier.orderFound
|
||||
let mergedOrderFound = orderFound < feedSpecifier.orderFound ? orderFound : feedSpecifier.orderFound
|
||||
|
||||
return FeedSpecifier(title: mergedTitle, urlString: urlString, source: mergedSource, orderFound: mergedOrderFound)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user