Merge pull request #2784 from stuartbreckenridge/main
Change NSImage to RSImage
This commit is contained in:
commit
5671497e72
|
@ -185,7 +185,7 @@ struct AppAssets {
|
|||
|
||||
static var preferencesToolbarExtensionsImage: RSImage = {
|
||||
if #available(macOS 11.0, *) {
|
||||
return NSImage(named: "preferencesToolbarExtensions")!
|
||||
return RSImage(named: "preferencesToolbarExtensions")!
|
||||
} else {
|
||||
return NSImage(contentsOfFile: "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/KEXT.icns")!
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue