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 f0f50e3 commit d22b405Copy full SHA for d22b405
1 file changed
client/packages/borneo_kernel/lib/drivers/borneo/lyfi/models.dart
@@ -72,7 +72,7 @@ enum LyfiState {
72
disco,
73
slave;
74
75
- bool get isLocked => !(this == preview || this == dimming || this == disco || this == slave);
+ bool get isLocked => this != preview && this != dimming && this != disco && this != slave;
76
77
factory LyfiState.fromString(String item) => switch (item) {
78
"normal" => LyfiState.normal,
0 commit comments