Fix theme getter

This commit is contained in:
Bryan Ashby
2020-06-29 22:59:27 -06:00
parent b361913929
commit 72564b7db6

View File

@@ -171,7 +171,7 @@ exports.getModule = class UserConfigModule extends MenuModule {
},
function prepareAvailableThemes(callback) {
self.availThemeInfo = _.sortBy([...theme.getAvailableThemes()].map(entry => {
const theme = entry[1];
const theme = entry[1].get();
return {
themeId : theme.info.themeId,
name : theme.info.name,