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 = {
|
static var swipeMarkStarredImage: RSImage = {
|
||||||
|
if #available(OSX 11.0, *) {
|
||||||
|
return RSImage(systemSymbolName: "star.fill", accessibilityDescription: "Star")!
|
||||||
|
.withSymbolConfiguration(.init(scale: .large))!
|
||||||
|
} else {
|
||||||
return RSImage(named: "swipeMarkStarred")!
|
return RSImage(named: "swipeMarkStarred")!
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
static var swipeMarkUnstarredImage: RSImage = {
|
static var swipeMarkUnstarredImage: RSImage = {
|
||||||
|
if #available(OSX 11.0, *) {
|
||||||
|
return RSImage(systemSymbolName: "star", accessibilityDescription: "Unstar")!
|
||||||
|
.withSymbolConfiguration(.init(scale: .large))!
|
||||||
|
} else {
|
||||||
return RSImage(named: "swipeMarkUnstarred")!
|
return RSImage(named: "swipeMarkUnstarred")!
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
static var starColor: NSColor = {
|
static var starColor: NSColor = {
|
||||||
|
|
Loading…
Reference in New Issue