Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit fdce791

Browse files
TedSandernshahan
authored andcommitted
Change TabButton to be OnPush as it is used in an OnPush context, and there is no reason why it can't be OnPush.
PiperOrigin-RevId: 242756270
1 parent fe7be8d commit fdce791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

angular_components/lib/material_tab/tab_button.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import 'package:angular_components/material_tab/tab_mixin.dart';
1919
<material-ripple></material-ripple>
2020
''',
2121
styleUrls: ['tab_button.scss.css'],
22+
changeDetection: ChangeDetectionStrategy.OnPush,
2223
directives: [MaterialRippleComponent],
2324
)
2425
class TabButtonComponent extends MaterialButtonBase with TabMixin {

0 commit comments

Comments
 (0)