Make timeline unread indicator use the control accent color on macOS

This commit is contained in:
Maurice Parker 2020-07-08 16:22:15 -05:00
parent 739c14fb99
commit 2ab82d5680
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ struct AppAssets {
static var timelineUnread: Image { static var timelineUnread: Image {
#if os(macOS) #if os(macOS)
let image = NSImage(systemSymbolName: "circle.fill", accessibilityDescription: nil)! let image = NSImage(systemSymbolName: "circle.fill", accessibilityDescription: nil)!
let coloredImage = image.tinted(with: NSColor(named: "AccentColor")!) let coloredImage = image.tinted(with: NSColor.controlAccentColor)
return Image(nsImage: coloredImage) return Image(nsImage: coloredImage)
#endif #endif
#if os(iOS) #if os(iOS)