We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b95929 commit 3205040Copy full SHA for 3205040
Source/LightTarget.swift
@@ -404,14 +404,14 @@ public class LightTarget {
404
}
405
406
public var supportsColor: Bool {
407
- return !(lights.map { $0.hasColor }.contains(false))
+ return lights.map { $0.hasColor }.contains(true)
408
409
410
public var supportsIR: Bool {
411
- return !(lights.map { $0.hasIR }.contains(false))
+ return lights.map { $0.hasIR }.contains(true)
412
413
414
public var supportsMultiZone: Bool {
415
- return !(lights.map { $0.hasMultiZone }.contains(false))
+ return lights.map { $0.hasMultiZone }.contains(true)
416
417
0 commit comments