Приведение к общему стилю.

This commit is contained in:
Alexander Zhirov 2026-01-09 21:48:59 +03:00
parent 0c46949c38
commit ff93fbb371
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -50,12 +50,16 @@ public:
override ScreenAction handle(ScreenContext context, KeyEvent event) override ScreenAction handle(ScreenContext context, KeyEvent event)
{ {
if (!_enabled) if (!_enabled)
{
return ScreenAction.none(); return ScreenAction.none();
}
if (isEnter(event) || isSpace(event)) if (isEnter(event) || isSpace(event))
{ {
if (_onClick !is null) if (_onClick !is null)
{
return _onClick(); return _onClick();
}
return ScreenAction.none(); return ScreenAction.none();
} }