Update read/unread swipe images to be SF Symbols on Big Sur
This commit is contained in:
parent
b8aca6b89a
commit
0c2f79f1b5
|
@ -292,11 +292,23 @@ struct AppAssets {
|
|||
}()
|
||||
|
||||
static var swipeMarkReadImage: RSImage = {
|
||||
if #available(OSX 11.0, *) {
|
||||
return RSImage(systemSymbolName: "circle", accessibilityDescription: "Mark Read")!
|
||||
.withSymbolConfiguration(.init(scale: .large))!
|
||||
} else {
|
||||
// TODO: remove swipeMarkRead asset when dropping support for macOS 10.15
|
||||
return RSImage(named: "swipeMarkRead")!
|
||||
}
|
||||
}()
|
||||
|
||||
static var swipeMarkUnreadImage: RSImage = {
|
||||
if #available(OSX 11.0, *) {
|
||||
return RSImage(systemSymbolName: "largecircle.fill.circle", accessibilityDescription: "Mark Unread")!
|
||||
.withSymbolConfiguration(.init(scale: .large))!
|
||||
} else {
|
||||
// TODO: remove swipeMarkUnread asset when dropping support for macOS 10.15
|
||||
return RSImage(named: "swipeMarkUnread")!
|
||||
}
|
||||
}()
|
||||
|
||||
static var swipeMarkStarredImage: RSImage = {
|
||||
|
|
Loading…
Reference in New Issue