File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import 'package:go_router/go_router.dart';
44import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
55import 'package:ht_dashboard/l10n/l10n.dart' ;
66import 'package:ht_dashboard/router/routes.dart' ;
7- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
87import 'package:ht_ui_kit/ht_ui_kit.dart' ;
98
109/// {@template authentication_page}
@@ -19,7 +18,7 @@ class AuthenticationPage extends StatelessWidget {
1918
2019 @override
2120 Widget build (BuildContext context) {
22- final l10n = context.l10n;
21+ final l10n = AppLocalizationsX ( context) .l10n;
2322 final textTheme = Theme .of (context).textTheme;
2423 final colorScheme = Theme .of (context).colorScheme;
2524
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import 'package:ht_dashboard/app/bloc/app_bloc.dart';
55import 'package:ht_dashboard/app/config/config.dart' ;
66import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
77import 'package:ht_dashboard/l10n/l10n.dart' ;
8- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
98import 'package:ht_ui_kit/ht_ui_kit.dart' ;
109
1110/// {@template email_code_verification_page}
@@ -21,7 +20,7 @@ class EmailCodeVerificationPage extends StatelessWidget {
2120
2221 @override
2322 Widget build (BuildContext context) {
24- final l10n = context.l10n;
23+ final l10n = AppLocalizationsX ( context) .l10n;
2524 final textTheme = Theme .of (context).textTheme;
2625 final colorScheme = Theme .of (context).colorScheme;
2726
@@ -152,7 +151,7 @@ class _EmailCodeVerificationFormState
152151
153152 @override
154153 Widget build (BuildContext context) {
155- final l10n = context.l10n;
154+ final l10n = AppLocalizationsX ( context) .l10n;
156155 final textTheme = Theme .of (context).textTheme;
157156
158157 return Form (
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import 'package:ht_dashboard/app/config/config.dart';
99import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
1010import 'package:ht_dashboard/l10n/l10n.dart' ;
1111import 'package:ht_dashboard/router/routes.dart' ;
12- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
1312import 'package:ht_ui_kit/ht_ui_kit.dart' ;
1413
1514/// {@template request_code_page}
@@ -40,7 +39,7 @@ class _RequestCodeView extends StatelessWidget {
4039
4140 @override
4241 Widget build (BuildContext context) {
43- final l10n = context.l10n;
42+ final l10n = AppLocalizationsX ( context) .l10n;
4443 final colorScheme = Theme .of (context).colorScheme;
4544 final textTheme = Theme .of (context).textTheme;
4645
@@ -203,7 +202,7 @@ class _EmailLinkFormState extends State<_EmailLinkForm> {
203202
204203 @override
205204 Widget build (BuildContext context) {
206- final l10n = context.l10n;
205+ final l10n = AppLocalizationsX ( context) .l10n;
207206 final textTheme = Theme .of (context).textTheme;
208207 final colorScheme = Theme .of (context).colorScheme;
209208
You can’t perform that action at this time.
0 commit comments