Make timeline unread indicator use the control accent color on macOS
This commit is contained in:
parent
739c14fb99
commit
2ab82d5680
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue