File tree Expand file tree Collapse file tree 10 files changed +48
-48
lines changed Expand file tree Collapse file tree 10 files changed +48
-48
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,17 @@ class AccountPage extends StatelessWidget {
130
130
statusWidget = Column (
131
131
mainAxisSize: MainAxisSize .min, // To keep column tight
132
132
children: [
133
- if (user? .role != null ) ...[
134
- // Show role only if available
135
- const SizedBox (height: AppSpacing .xs),
136
- Text (
137
- l10n.accountRoleLabel (user! .role.name),
138
- style: textTheme.bodyMedium? .copyWith (
139
- color: colorScheme.onSurfaceVariant,
140
- ),
141
- textAlign: TextAlign .center,
142
- ),
143
- ],
133
+ // if (user?.role != null) ...[
134
+ // // Show role only if available
135
+ // const SizedBox(height: AppSpacing.xs),
136
+ // Text(
137
+ // l10n.accountRoleLabel(user!.role.name),
138
+ // style: textTheme.bodyMedium?.copyWith(
139
+ // color: colorScheme.onSurfaceVariant,
140
+ // ),
141
+ // textAlign: TextAlign.center,
142
+ // ),
143
+ // ],
144
144
const SizedBox (height: AppSpacing .md), // Consistent spacing
145
145
OutlinedButton .icon (
146
146
// Changed to OutlinedButton.icon
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class AuthenticationPage extends StatelessWidget {
99
99
Padding (
100
100
padding: const EdgeInsets .only (bottom: AppSpacing .xl),
101
101
child: Icon (
102
- Icons .security ,
102
+ isLinkingContext ? Icons .sync : Icons .newspaper ,
103
103
size: AppSpacing .xxl * 2 , // Standardized large icon
104
104
color: colorScheme.primary,
105
105
),
Original file line number Diff line number Diff line change @@ -90,15 +90,15 @@ class _HeadlinesFeedPageState extends State<HeadlinesFeedPage> {
90
90
style: textTheme.titleLarge? .copyWith (fontWeight: FontWeight .bold),
91
91
),
92
92
actions: [
93
- IconButton (
94
- icon: const Icon (Icons .notifications_outlined),
95
- tooltip: l10n.notificationsTooltip, // Add tooltip for accessibility
96
- onPressed: () {
97
- context.goNamed (
98
- Routes .notificationsName,
99
- ); // Ensure correct route name
100
- },
101
- ),
93
+ // IconButton(
94
+ // icon: const Icon(Icons.notifications_outlined),
95
+ // tooltip: l10n.notificationsTooltip, // Add tooltip for accessibility
96
+ // onPressed: () {
97
+ // context.goNamed(
98
+ // Routes.notificationsName,
99
+ // ); // Ensure correct route name
100
+ // },
101
+ // ),
102
102
BlocBuilder <HeadlinesFeedBloc , HeadlinesFeedState >(
103
103
builder: (context, state) {
104
104
var isFilterApplied = false ;
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ class _HeadlinesFilterPageState extends State<HeadlinesFilterPage> {
272
272
title: Text (l10n.headlinesFeedFilterTitle),
273
273
actions: [
274
274
IconButton (
275
- icon: const Icon (Icons .clear_all ),
275
+ icon: const Icon (Icons .refresh ),
276
276
tooltip: l10n.headlinesFeedFilterResetButton,
277
277
onPressed: () {
278
278
context.read <HeadlinesFeedBloc >().add (
Original file line number Diff line number Diff line change @@ -449,25 +449,25 @@ abstract class AppLocalizations {
449
449
/// Headline for the authentication page when linking an anonymous account
450
450
///
451
451
/// In en, this message translates to:
452
- /// **'Connect Your Account '**
452
+ /// **'Sync Your Data '**
453
453
String get authenticationLinkingHeadline;
454
454
455
455
/// Subheadline explaining the benefit of linking an anonymous account
456
456
///
457
457
/// In en, this message translates to:
458
- /// **'Sign in with Google or Email to save your preferences and reading history across devices.'**
458
+ /// **'save your settings, content preferences and more across devices.'**
459
459
String get authenticationLinkingSubheadline;
460
460
461
461
/// Headline for the authentication page during standard sign-in
462
462
///
463
463
/// In en, this message translates to:
464
- /// **'Sign In '**
464
+ /// **'Headlines Toolkit '**
465
465
String get authenticationSignInHeadline;
466
466
467
467
/// Subheadline for the authentication page during standard sign-in
468
468
///
469
469
/// In en, this message translates to:
470
- /// **'Sign in or continue anonymously to personalize your feed .'**
470
+ /// **'Develop News Headlines Apps Rapidly & Reliably .'**
471
471
String get authenticationSignInSubheadline;
472
472
473
473
/// AppBar title for the email sign-in page
Original file line number Diff line number Diff line change @@ -190,18 +190,18 @@ class AppLocalizationsAr extends AppLocalizations {
190
190
String get authenticationEmailSignInButton => 'متابعة بالبريد الإلكتروني' ;
191
191
192
192
@override
193
- String get authenticationLinkingHeadline => 'ربط حسابك ' ;
193
+ String get authenticationLinkingHeadline => 'زامن بياناتك ' ;
194
194
195
195
@override
196
196
String get authenticationLinkingSubheadline =>
197
- 'سجل الدخول باستخدام جوجل أو البريد الإلكتروني لحفظ تفضيلاتك وسجل القراءة عبر الأجهزة.' ;
197
+ 'إحفظ إعداداتك، تفضيلات المحتوى والمزيد عبر مختلف الأجهزة.' ;
198
198
199
199
@override
200
- String get authenticationSignInHeadline => 'تسجيل الدخول ' ;
200
+ String get authenticationSignInHeadline => 'هادلاينز تولكيت ' ;
201
201
202
202
@override
203
203
String get authenticationSignInSubheadline =>
204
- 'سجل الدخول أو تابع كمجهول لتخصيص موجز الأخبار الخاص بك .' ;
204
+ 'طور التطبيقات الإخبارية بسرعة وبشكل موثوق .' ;
205
205
206
206
@override
207
207
String get emailSignInPageTitle => 'تسجيل الدخول بالبريد الإلكتروني' ;
Original file line number Diff line number Diff line change @@ -192,18 +192,18 @@ class AppLocalizationsEn extends AppLocalizations {
192
192
String get authenticationEmailSignInButton => 'Continue with Email' ;
193
193
194
194
@override
195
- String get authenticationLinkingHeadline => 'Connect Your Account ' ;
195
+ String get authenticationLinkingHeadline => 'Sync Your Data ' ;
196
196
197
197
@override
198
198
String get authenticationLinkingSubheadline =>
199
- 'Sign in with Google or Email to save your preferences and reading history across devices.' ;
199
+ 'save your settings, content preferences and more across devices.' ;
200
200
201
201
@override
202
- String get authenticationSignInHeadline => 'Sign In ' ;
202
+ String get authenticationSignInHeadline => 'Headlines Toolkit ' ;
203
203
204
204
@override
205
205
String get authenticationSignInSubheadline =>
206
- 'Sign in or continue anonymously to personalize your feed .' ;
206
+ 'Develop News Headlines Apps Rapidly & Reliably .' ;
207
207
208
208
@override
209
209
String get emailSignInPageTitle => 'Sign in with Email' ;
Original file line number Diff line number Diff line change 238
238
"@authenticationEmailSignInButton": {
239
239
"description": "نص زر بدء تدفق تسجيل الدخول بالبريد الإلكتروني"
240
240
},
241
- "authenticationLinkingHeadline": "ربط حسابك ",
241
+ "authenticationLinkingHeadline": "زامن بياناتك ",
242
242
"@authenticationLinkingHeadline": {
243
243
"description": "عنوان صفحة المصادقة عند ربط حساب مجهول"
244
244
},
245
- "authenticationLinkingSubheadline": "سجل الدخول باستخدام جوجل أو البريد الإلكتروني لحفظ تفضيلاتك وسجل القراءة عبر الأجهزة.",
245
+ "authenticationLinkingSubheadline": "إحفظ إعداداتك، تفضيلات المحتوى والمزيد عبر مختلف الأجهزة.",
246
246
"@authenticationLinkingSubheadline": {
247
247
"description": "عنوان فرعي يشرح فائدة ربط حساب مجهول"
248
248
},
249
- "authenticationSignInHeadline": "تسجيل الدخول ",
249
+ "authenticationSignInHeadline": "هادلاينز تولكيت ",
250
250
"@authenticationSignInHeadline": {
251
251
"description": "عنوان صفحة المصادقة أثناء تسجيل الدخول القياسي"
252
252
},
253
- "authenticationSignInSubheadline": "سجل الدخول أو تابع كمجهول لتخصيص موجز الأخبار الخاص بك .",
253
+ "authenticationSignInSubheadline": "طور التطبيقات الإخبارية بسرعة وبشكل موثوق .",
254
254
"@authenticationSignInSubheadline": {
255
255
"description": "عنوان فرعي لصفحة المصادقة أثناء تسجيل الدخول القياسي"
256
256
},
Original file line number Diff line number Diff line change 238
238
"@authenticationEmailSignInButton": {
239
239
"description": "Button text for initiating email sign-in flow"
240
240
},
241
- "authenticationLinkingHeadline": "Connect Your Account ",
241
+ "authenticationLinkingHeadline": "Sync Your Data ",
242
242
"@authenticationLinkingHeadline": {
243
243
"description": "Headline for the authentication page when linking an anonymous account"
244
244
},
245
- "authenticationLinkingSubheadline": "Sign in with Google or Email to save your preferences and reading history across devices.",
245
+ "authenticationLinkingSubheadline": "save your settings, content preferences and more across devices.",
246
246
"@authenticationLinkingSubheadline": {
247
247
"description": "Subheadline explaining the benefit of linking an anonymous account"
248
248
},
249
- "authenticationSignInHeadline": "Sign In ",
249
+ "authenticationSignInHeadline": "Headlines Toolkit ",
250
250
"@authenticationSignInHeadline": {
251
251
"description": "Headline for the authentication page during standard sign-in"
252
252
},
253
- "authenticationSignInSubheadline": "Sign in or continue anonymously to personalize your feed .",
253
+ "authenticationSignInSubheadline": "Develop News Headlines Apps Rapidly & Reliably .",
254
254
"@authenticationSignInSubheadline": {
255
255
"description": "Subheadline for the authentication page during standard sign-in"
256
256
},
Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ class SettingsPage extends StatelessWidget {
101
101
onTap: () => context.goNamed (Routes .settingsFeedName),
102
102
),
103
103
const Divider (indent: AppSpacing .lg, endIndent: AppSpacing .lg),
104
- _buildSettingsTile (
105
- context: context,
106
- icon: Icons .notifications_outlined,
107
- title: l10n.settingsNotificationsTitle, // Add l10n key
108
- onTap: () => context.goNamed (Routes .settingsNotificationsName),
109
- ),
104
+ // _buildSettingsTile(
105
+ // context: context,
106
+ // icon: Icons.notifications_outlined,
107
+ // title: l10n.settingsNotificationsTitle,
108
+ // onTap: () => context.goNamed(Routes.settingsNotificationsName),
109
+ // ),
110
110
],
111
111
);
112
112
},
You can’t perform that action at this time.
0 commit comments