mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-20 17:46:52 -04:00
Merged if-statements.
This commit is contained in:
@@ -102,8 +102,7 @@ public class SecurePasswordField extends TextField {
|
||||
private void handleKeyEvent(KeyEvent e) {
|
||||
if (e.getCode() == KeyCode.CAPS) {
|
||||
updateCapsLocked();
|
||||
}
|
||||
if (SHORTCUT_BACKSPACE.match(e)) {
|
||||
} else if (SHORTCUT_BACKSPACE.match(e)) {
|
||||
swipe();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user