Skip to content

Commit

Permalink
refactor(sample): call method in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
SisIvanova committed Dec 5, 2023
1 parent 56d9f9b commit d12551a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/theming/angular/angular-sample.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class AngularMaterialComponent implements OnInit {
private _dialogOverlaySettings2;

constructor(private _formBuilder: FormBuilder, private overlayContainer: OverlayContainer) {
overlayContainer.getContainerElement().classList.add('light-menu-theme');
this.toggleOverlayClasses(this.themesClass);
}

public lightTheme() {
Expand Down

0 comments on commit d12551a

Please sign in to comment.