Merge pull request #2784 from stuartbreckenridge/main

Change NSImage to RSImage
This commit is contained in:
Maurice Parker 2021-02-05 15:07:44 -06:00 committed by GitHub
commit 5671497e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")!
}