This commit is contained in:
Julia Radzhabova 2021-04-22 19:24:26 +03:00
parent d7ee56626a
commit fdc6343305

View file

@ -284,7 +284,7 @@ define([
parseIcons: function(icons) {
if (icons.length && typeof icons[0] !== 'string') {
var theme = Common.UI.Themes.current().toLowerCase(),
var theme = Common.UI.Themes.currentThemeId().toLowerCase(),
style = Common.UI.Themes.isDarkTheme() ? 'dark' : 'light',
idx = -1;
for (var i=0; i<icons.length; i++) {