IDEA-269021 reusing named colors doesn't work if there is no icons section

GitOrigin-RevId: 8530a7ca91f511c4c0eb2ded0f0e66c450d495e6
This commit is contained in:
Konstantin Bulenkov
2021-06-22 23:15:14 +00:00
committed by intellij-monorepo-bot
parent a6826086c8
commit 9ca695b1fe
@@ -141,12 +141,12 @@ public final class UITheme {
theme.providerClassLoader = provider;
}
initializeNamedColors(theme);
if (theme.icons == null || theme.icons.isEmpty()) {
return theme;
}
initializeNamedColors(theme);
theme.patcher = new IconPathPatcher() {
@Nullable
@Override