Use the star SF Symbols as well

This commit is contained in:
Jed Fox 2021-04-06 17:37:15 -04:00
parent 3609b6f977
commit 76cf335af1
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 12 additions and 2 deletions

View File

@ -312,11 +312,21 @@ struct AppAssets {
}()
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")!
}
}()
static var swipeMarkUnstarredImage: RSImage = {
if #available(OSX 11.0, *) {
return RSImage(systemSymbolName: "star", accessibilityDescription: "Unstar")!
.withSymbolConfiguration(.init(scale: .large))!
} else {
return RSImage(named: "swipeMarkUnstarred")!
}
}()
static var starColor: NSColor = {