mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
fix a few warnings
This commit is contained in:
1 parent
b3ee998e3f
commit
316c0c307d
1 file changed
+2
-2
+2
-2
@@ -121,7 +121,7 @@ void PFMoveToApplicationsFolderIfNecessary(void) {
|
||||
|
||||
if (PFUseSmallAlertSuppressCheckbox) {
|
||||
NSCell *cell = [[alert suppressionButton] cell];
|
||||
[cell setControlSize:NSSmallControlSize];
|
||||
[cell setControlSize:NSControlSizeSmall];
|
||||
[cell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
|
||||
}
|
||||
}
|
||||
@@ -192,7 +192,7 @@ void PFMoveToApplicationsFolderIfNecessary(void) {
|
||||
exit(0);
|
||||
}
|
||||
// Save the alert suppress preference if checked
|
||||
else if ([[alert suppressionButton] state] == NSOnState) {
|
||||
else if ([[alert suppressionButton] state] == NSControlStateValueOn) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:AlertSuppressKey];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user