diff --git a/app/src/assets/svg/icons/settings.svg b/app/src/assets/svg/icons/settings.svg deleted file mode 100644 index 42035fd9a..000000000 --- a/app/src/assets/svg/icons/settings.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/projects/aca-content/src/lib/components/sidenav/navigation-menu/navigation-menu.component.html b/projects/aca-content/src/lib/components/sidenav/navigation-menu/navigation-menu.component.html index 4b5c9fc0e..6cbfa64ef 100644 --- a/projects/aca-content/src/lib/components/sidenav/navigation-menu/navigation-menu.component.html +++ b/projects/aca-content/src/lib/components/sidenav/navigation-menu/navigation-menu.component.html @@ -24,7 +24,7 @@ {{ 'APP.BROWSE.ABOUT.TITLE' | translate }} diff --git a/projects/aca-content/src/lib/services/icon.service.ts b/projects/aca-content/src/lib/services/icon.service.ts index 8decd5cd3..503e4edc5 100644 --- a/projects/aca-content/src/lib/services/icon.service.ts +++ b/projects/aca-content/src/lib/services/icon.service.ts @@ -14,11 +14,14 @@ import { DomSanitizer } from '@angular/platform-browser'; providedIn: 'root' }) export class IconService { - contentIcons: string[] = ['workspace', 'menu', 'avatar', 'settings']; + contentIcons: string[] = ['workspace', 'menu', 'avatar']; + constructor(private matIconRegistry: MatIconRegistry, private domSanitizer: DomSanitizer) {} + public registerIcons(): void { this.loadIcons(this.contentIcons, './assets/svg/icons'); } + private loadIcons(iconKeys: string[], iconUrl: string): void { iconKeys.forEach((key) => { this.matIconRegistry.addSvgIcon(key, this.domSanitizer.bypassSecurityTrustResourceUrl(`${iconUrl}/${key}.svg`));