Use target app and version in themes meta

This commit is contained in:
luisangelsm
2026-03-06 12:29:06 +01:00
parent 9024ff7d0c
commit 86b5003f07
14 changed files with 60 additions and 19 deletions

View File

@ -363,6 +363,8 @@ Theme makeTheme(const QJsonObject &json)
p.meta.variant = ThemeVariant::Light;
else if (variantStr == "dark")
p.meta.variant = ThemeVariant::Dark;
p.meta.targetApp = o["targetApp"].toString(p.meta.targetApp);
p.meta.version = o["version"].toString(p.meta.version);
}
Theme theme = makeTheme(p);