Commit bfafe19
committed
refactor(authentication): localize and simplify AuthenticationPage
Refactored the `AuthenticationPage` to use localization keys directly from `l10n` for its headline and subheadline. This removes the need to pass these strings as parameters, making the widget more self-contained and easier to maintain.
The `showAnonymousButton` parameter has also been removed, as anonymous sign-in is not a feature of the secure dashboard.
BREAKING CHANGE: The constructor for `AuthenticationPage` no longer accepts `headline`, `subHeadline`, or `showAnonymousButton` parameters. Calls to this widget must be updated to remove these arguments.1 parent 96dd0d2 commit bfafe19
1 file changed
+6
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 20 | + | |
35 | 21 | | |
36 | 22 | | |
37 | 23 | | |
| |||
88 | 74 | | |
89 | 75 | | |
90 | 76 | | |
91 | | - | |
| 77 | + | |
92 | 78 | | |
93 | 79 | | |
94 | 80 | | |
95 | 81 | | |
96 | 82 | | |
97 | 83 | | |
98 | 84 | | |
99 | | - | |
| 85 | + | |
100 | 86 | | |
101 | 87 | | |
102 | 88 | | |
| |||
0 commit comments