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

Commit 22c7c3d

Browse files
Googlernshahan
authored andcommitted
Remove preserveWhiteSpace:true/false from components. preserveWhiteSpace:false is the default.
PiperOrigin-RevId: 173403853
1 parent f311f91 commit 22c7c3d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/material_select/dropdown_button.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ import 'package:angular_components/mixins/button_wrapper.dart';
4444
KeyboardOnlyFocusIndicatorDirective,
4545
NgIf,
4646
],
47-
// TODO(google): Change preserveWhitespace to false to improve codesize.
48-
preserveWhitespace: true,
4947
)
5048
class DropdownButtonComponent extends Object with MaterialButtonWrapper {
5149
DropdownButtonComponent() {

lib/material_select/material_select_searchbox.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import 'package:angular_components/utils/browser/events/events.dart';
2323
const Provider(Focusable, useExisting: MaterialSelectSearchboxComponent)
2424
],
2525
styleUrls: const ['material_select_searchbox.scss.css'],
26-
preserveWhitespace: false,
2726
templateUrl: 'material_select_searchbox.html')
2827
class MaterialSelectSearchboxComponent extends FocusableMixin
2928
implements OnDestroy {

0 commit comments

Comments
 (0)