mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Use target app and version in themes meta
This commit is contained in:
@ -1165,6 +1165,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);
|
||||
|
||||
Reference in New Issue
Block a user