mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge branch 'mac-candidate'
This commit is contained in:
@@ -934,8 +934,7 @@ private extension Account {
|
||||
// Now we loop through articles exactly once. This makes a huge difference.
|
||||
|
||||
var unreadCountStorage = [String: Int]() // [FeedID: Int]
|
||||
articles.forEach { (article) in
|
||||
precondition(!article.status.read)
|
||||
for article in articles where !article.status.read {
|
||||
unreadCountStorage[article.feedID, default: 0] += 1
|
||||
}
|
||||
feeds.forEach { (feed) in
|
||||
|
||||
@@ -13,7 +13,7 @@ import UIKit
|
||||
#elseif os(watchOS)
|
||||
import WatchKit
|
||||
#elseif os(OSX)
|
||||
import Cocoa
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
public class ColorHash {
|
||||
|
||||
Reference in New Issue
Block a user