Skip to content

Commit

Permalink
refactor(material/timepicker): fix lint error
Browse files Browse the repository at this point in the history
Updates previous fix to fix lint error.
  • Loading branch information
essjay05 committed Jan 8, 2025
1 parent c91c98a commit 1174e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/timepicker/timepicker-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class MatTimepickerToggle<D> {
});

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

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

0 comments on commit 1174e6d

Please sign in to comment.