Fixed an issue where the video element static image would not get displayed for legacy theme sets.

This commit is contained in:
Leon Styhre 2022-12-21 20:02:12 +01:00
parent 251e826589
commit 1c83c762a8

View file

@ -267,7 +267,7 @@ void VideoComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
} }
} }
if (mThemeImageTypes.empty()) if (!mLegacyTheme && mThemeImageTypes.empty())
mConfig.startDelay = 0; mConfig.startDelay = 0;
if (elem->has("color")) { if (elem->has("color")) {