Skip to content

Commit 8e8f3c5

Browse files
committed
refactor(material/toolbar): remove explicit change detection
Now that `OnPush` is the default, we can remove it from the metadata.
1 parent 8539675 commit 8e8f3c5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/material/toolbar/toolbar.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {Platform} from '@angular/cdk/platform';
1010

1111
import {
1212
AfterViewInit,
13-
ChangeDetectionStrategy,
1413
Component,
1514
ContentChildren,
1615
Directive,
@@ -40,7 +39,6 @@ export class MatToolbarRow {}
4039
'[class.mat-toolbar-multiple-rows]': '_toolbarRows.length > 0',
4140
'[class.mat-toolbar-single-row]': '_toolbarRows.length === 0',
4241
},
43-
changeDetection: ChangeDetectionStrategy.OnPush,
4442
encapsulation: ViewEncapsulation.None,
4543
})
4644
export class MatToolbar implements AfterViewInit {

0 commit comments

Comments
 (0)