diff --git a/es-core/src/components/ScrollableContainer.cpp b/es-core/src/components/ScrollableContainer.cpp index 59c2ffce6..63cb21854 100644 --- a/es-core/src/components/ScrollableContainer.cpp +++ b/es-core/src/components/ScrollableContainer.cpp @@ -98,7 +98,7 @@ void ScrollableContainer::applyTheme(const std::shared_ptr& theme, GuiComponent::applyTheme(theme, view, element, properties); const ThemeData::ThemeElement* elem {theme->getElement(view, element, "text")}; - if (!elem || !elem->has("container")) + if (!elem) return; if (elem->has("containerVerticalSnap"))