You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if something goes wrong — can't detect mode, error happens during detection attempt — detect() returns Mode::Light. Would be a lot better to provide some version of this that could return a Result.
The text was updated successfully, but these errors were encountered:
Right now if something goes wrong — can't detect mode, error happens during detection attempt —
detect()
returnsMode::Light
. Would be a lot better to provide some version of this that could return aResult
.The text was updated successfully, but these errors were encountered: