Skip to content

Commit 1174e6d

Browse files
committed
refactor(material/timepicker): fix lint error
Updates previous fix to fix lint error.
1 parent c91c98a commit 1174e6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/timepicker/timepicker-toggle.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class MatTimepickerToggle<D> {
6868
});
6969

7070
/** Default aria-label for the toggle if none is provided. */
71-
private readonly defaultAriaLabel = 'Open timepicker options';
71+
private readonly _defaultAriaLabel = 'Open timepicker options';
7272

7373
/** Whether the toggle button is disabled. */
7474
readonly disabled: InputSignalWithTransform<boolean, unknown> = input(false, {
@@ -99,6 +99,6 @@ export class MatTimepickerToggle<D> {
9999
* otherwise returns the default aria-label using the timepicker's panelId.
100100
*/
101101
getAriaLabel(): string {
102-
return this.ariaLabel() || this.defaultAriaLabel;
102+
return this.ariaLabel() || this._defaultAriaLabel;
103103
}
104104
}

0 commit comments

Comments
 (0)