Use the star SF Symbols as well
This commit is contained in:
parent
3609b6f977
commit
76cf335af1
|
@ -312,11 +312,21 @@ struct AppAssets {
|
|||
}()
|
||||
|
||||
static var swipeMarkStarredImage: RSImage = {
|
||||
return RSImage(named: "swipeMarkStarred")!
|
||||
if #available(OSX 11.0, *) {
|
||||
return RSImage(systemSymbolName: "star.fill", accessibilityDescription: "Star")!
|
||||
.withSymbolConfiguration(.init(scale: .large))!
|
||||
} else {
|
||||
return RSImage(named: "swipeMarkStarred")!
|
||||
}
|
||||
}()
|
||||
|
||||
static var swipeMarkUnstarredImage: RSImage = {
|
||||
return RSImage(named: "swipeMarkUnstarred")!
|
||||
if #available(OSX 11.0, *) {
|
||||
return RSImage(systemSymbolName: "star", accessibilityDescription: "Unstar")!
|
||||
.withSymbolConfiguration(.init(scale: .large))!
|
||||
} else {
|
||||
return RSImage(named: "swipeMarkUnstarred")!
|
||||
}
|
||||
}()
|
||||
|
||||
static var starColor: NSColor = {
|
||||
|
|
Loading…
Reference in New Issue