fix: Big Sur crash when using contrast slider

This commit is contained in:
JoniVR 2021-08-03 23:02:15 +02:00
parent 09e5e2a248
commit eed41112ae
No known key found for this signature in database
GPG key ID: 3C8F6B8A7809ACDA
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1228</string>
<string>1229</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>

View file

@ -32,7 +32,7 @@ class Utils: NSObject {
switch command {
case .audioSpeakerVolume: iconName = "speaker.wave.2"
case .brightness: iconName = "sun.max"
case .contrast: iconName = "circle.lefthalf.filled"
case .contrast: iconName = "circle.lefthalf.fill"
default: break
}
let icon = NSImageView(image: NSImage(systemSymbolName: iconName, accessibilityDescription: title)!)

View file

@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1228</string>
<string>1229</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSBackgroundOnly</key>