Fixed enter not working to accept tag name
This commit is contained in:
parent
00d95b6feb
commit
2e839a284f
@ -44,7 +44,7 @@ fun NewTagDialog(
|
||||
}
|
||||
.width(300.dp)
|
||||
.onPreviewKeyEvent { keyEvent ->
|
||||
if (keyEvent.matchesBinding(KeybindingOption.SIMPLE_ACCEPT) && tagField.isBlank()) {
|
||||
if (keyEvent.matchesBinding(KeybindingOption.SIMPLE_ACCEPT) && tagField.isNotBlank()) {
|
||||
onAccept(tagField)
|
||||
true
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user