Removed Lottie animation support for legacy themes.

This commit is contained in:
Leon Styhre 2022-03-05 21:16:33 +01:00
parent ecdbf6d3d5
commit 978790956e

View file

@ -13,7 +13,6 @@
#include "Log.h"
#include "Settings.h"
#include "components/ImageComponent.h"
#include "components/LottieAnimComponent.h"
#include "components/TextComponent.h"
#include "utils/FileSystemUtil.h"
#include "utils/StringUtil.h"
@ -462,8 +461,6 @@ std::vector<GuiComponent*> ThemeData::makeExtras(const std::shared_ptr<ThemeData
comp = new ImageComponent;
else if (t == "text")
comp = new TextComponent;
else if (t == "animation")
comp = new LottieAnimComponent;
if (comp) {
comp->setDefaultZIndex(10.0f);