diff --git a/Kit/plugins/SystemKit.swift b/Kit/plugins/SystemKit.swift index 7b10bd0e4a3..e783de09d19 100644 --- a/Kit/plugins/SystemKit.swift +++ b/Kit/plugins/SystemKit.swift @@ -485,6 +485,9 @@ public class SystemKit { if year >= 2024 { return NSImage(named: NSImage.Name("macMini2024"))! } + if year >= 2020 && year <= 2023 { + return NSImage(named: NSImage.Name("macMini2020"))! + } return NSImage(named: NSImage.Name("macMini"))! case .macStudio: return NSImage(named: NSImage.Name("macStudio"))! diff --git a/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/Contents.json b/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/Contents.json new file mode 100644 index 00000000000..874be5b706a --- /dev/null +++ b/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "macMini2020.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/macMini2020.png b/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/macMini2020.png new file mode 100644 index 00000000000..9071073973e Binary files /dev/null and b/Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/macMini2020.png differ