fix(color): radio may crash when long pressing ENTER key (#7537)

This commit is contained in:
philmoz
2026-07-10 13:29:04 +10:00
committed by GitHub
parent 33dc8de694
commit be74696c57
@@ -318,8 +318,8 @@ bool ViewMain::onLongPress()
{
if (isAppMode()) {
int view = getCurrentMainView();
customScreens[view]->getWidget(0)->setFullscreen(true);
killEvents(KEY_ENTER);
if (customScreens[view]->getWidget(0))
customScreens[view]->getWidget(0)->setFullscreen(true);
} else {
enableWidgetSelect(true);
}