Use the SF star for the timeline on Big Sur
This commit is contained in:
parent
1eb21b1da1
commit
58498ef33e
|
@ -167,7 +167,13 @@ struct AppAssets {
|
|||
}()
|
||||
|
||||
static var timelineStar: RSImage! = {
|
||||
if #available(macOS 10.16, *) {
|
||||
let image = NSImage(systemSymbolName: "star.fill", accessibilityDescription: nil)!
|
||||
let coloredImage = image.tinted(with: NSColor(named: "StarColor")!)
|
||||
return coloredImage
|
||||
} else {
|
||||
return RSImage(named: .timelineStar)
|
||||
}
|
||||
}()
|
||||
|
||||
static var todayFeedImage: IconImage = {
|
||||
|
|
|
@ -20,7 +20,7 @@ class TimelineTableCellView: NSTableCellView {
|
|||
|
||||
private lazy var iconView = IconView()
|
||||
|
||||
private let starView = TimelineTableCellView.imageView(with: AppAssets.timelineStar, scaling: .scaleNone)
|
||||
private let starView = TimelineTableCellView.imageView(with: AppAssets.timelineStar, scaling: .scaleProportionallyUpOrDown)
|
||||
private let separatorView = TimelineTableCellView.separatorView()
|
||||
|
||||
private lazy var textFields = {
|
||||
|
|
Loading…
Reference in New Issue