Skip to content

Commit

Permalink
theming: properly apply theia-file-icons theme (#12419)
Browse files Browse the repository at this point in the history
The commit fixes an issue which prevented open tabs from properly displaying the `theia-file-icons` theme resulting in a broken UI.

Signed-off-by: FernandoAscencio <fernando.ascencio.cama@ericsson.com>
  • Loading branch information
FernandoAscencio authored Apr 20, 2023
1 parent a9471e7 commit b206d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/icon-theme-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ export class IconThemeService {
*/
setCurrent(newCurrent: IconTheme, persistSetting = true): void {
if (newCurrent !== this.getCurrent()) {
this.activeTheme = newCurrent;
this.toDeactivate.dispose();
this.toDeactivate.push(newCurrent.activate());
this.activeTheme = newCurrent;
this.onDidChangeCurrentEmitter.fire(newCurrent.id);
}
if (persistSetting) {
Expand Down

0 comments on commit b206d89

Please sign in to comment.