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

Commit 8cb1e74

Browse files
alorenzennshahan
authored andcommitted
Migrate material_list to preserveWhitespace: false.
PiperOrigin-RevId: 176012709
1 parent 32d9aa0 commit 8cb1e74

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/material_list/material_list.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ export 'material_list_size.dart';
7171
host: const {'[attr.size]': 'size'},
7272
template: '<ng-content></ng-content>',
7373
changeDetection: ChangeDetectionStrategy.OnPush,
74-
// TODO(google): Change preserveWhitespace to false to improve codesize.
75-
preserveWhitespace: true,
7674
)
7775
class MaterialListComponent implements AcceptsWidth {
7876
@Input()

lib/material_list/material_list_item.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ import 'package:angular_components/utils/disposer/disposer.dart';
5151
styleUrls: const ['material_list_item.scss.css'],
5252
template: '<ng-content></ng-content>',
5353
changeDetection: ChangeDetectionStrategy.OnPush,
54-
// TODO(google): Change preserveWhitespace to false to improve codesize.
55-
preserveWhitespace: true,
5654
)
5755
class MaterialListItemComponent extends ButtonDirective
5856
with ActiveItemMixin

0 commit comments

Comments
 (0)