Skip to content

Commit d12551a

Browse files
committed
refactor(sample): call method in constructor
1 parent 56d9f9b commit d12551a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/theming/angular/angular-sample.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AngularMaterialComponent implements OnInit {
2626
private _dialogOverlaySettings2;
2727

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

3232
public lightTheme() {

0 commit comments

Comments
 (0)