Skip to content

Commit fee1fca

Browse files
committed
Fix one Mac availability error
1 parent 597c64e commit fee1fca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/GtkBackend/GtkBackend.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,8 @@ public final class GtkBackend: AppBackend {
15171517
if components.contains(.hourAndMinute) {
15181518
print("Warning: time picker is unimplemented on GtkBackend")
15191519
}
1520-
if environment.datePickerStyle == .wheel || environment.datePickerStyle == .compact {
1521-
print("Warning: only datePickerStyle.graphical is implemented in GtkBackend")
1520+
if environment.datePickerStyle != .automatic && environment.datePickerStyle != .graphical {
1521+
print("Warning: only DatePickerStyle.graphical is implemented in GtkBackend")
15221522
}
15231523

15241524
let calendarWidget = datePicker as! Gtk.Calendar

0 commit comments

Comments
 (0)