From 76cf335af15133b853daccf02a356261024eae5a Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Tue, 6 Apr 2021 17:37:15 -0400 Subject: [PATCH] Use the star SF Symbols as well --- Mac/AppAssets.swift | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Mac/AppAssets.swift b/Mac/AppAssets.swift index e9a1ed05d..be4065a9f 100644 --- a/Mac/AppAssets.swift +++ b/Mac/AppAssets.swift @@ -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 = {