-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible fix for lock/unlock toggle loop #1956
Conversation
add additional release state for locking
fix typo
logic description fix
move comment
The logic seems to work but display information can be optimized (show longer?). |
optimize lock/unlock display information
It works now as I would expect it: Hold both buttons when unlocked = go into locked mode and show locked until button release. But the locked warning on single button press is still short. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
Showing the alert for longer could be solved by also triggering the warnUser
in other paths perhaps?
@Ralim as I understand it, the message is shown as short as the button is pressed?! |
This is an untested draft to fix a possible lock/unlock toggle loop bug when holding both buttons.