Skip to content

Commit 13f519e

Browse files
committed
chore: misc
1 parent da59c9c commit 13f519e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib/content_management/view/archived_sources_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class _ArchivedSourcesView extends StatelessWidget {
3131
final l10n = AppLocalizationsX(context).l10n;
3232
return Scaffold(
3333
appBar: AppBar(
34-
title: Text('Archived Sources'), // TODO(you): Will be fixed in l10n phase.
34+
title: const Text('Archived Sources'), // TODO(you): Will be fixed in l10n phase.
3535
),
3636
body: Padding(
3737
padding: const EdgeInsets.all(AppSpacing.lg),
@@ -58,7 +58,7 @@ class _ArchivedSourcesView extends StatelessWidget {
5858
}
5959

6060
if (state.sources.isEmpty) {
61-
return Center(child: Text('No archived sources found.')); // TODO(you): Will be fixed in l10n phase.
61+
return const Center(child: Text('No archived sources found.')); // TODO(you): Will be fixed in l10n phase.
6262
}
6363

6464
return Column(

lib/content_management/view/archived_topics_page.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:flutter_bloc/flutter_bloc.dart';
66
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/archived_topics/archived_topics_bloc.dart';
77
import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart';
88
import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart';
9-
import 'package:flutter_news_app_web_dashboard_full_source_code/shared/shared.dart';
109
import 'package:intl/intl.dart';
1110
import 'package:ui_kit/ui_kit.dart';
1211

@@ -32,7 +31,7 @@ class _ArchivedTopicsView extends StatelessWidget {
3231
final l10n = AppLocalizationsX(context).l10n;
3332
return Scaffold(
3433
appBar: AppBar(
35-
title: Text(l10n.archivedTopics), //TODO(you): Localize this string
34+
title: Text(l10n.archivedTopics), // TODO(you): Localize this string
3635
),
3736
body: Padding(
3837
padding: const EdgeInsets.all(AppSpacing.lg),
@@ -42,7 +41,7 @@ class _ArchivedTopicsView extends StatelessWidget {
4241
state.topics.isEmpty) {
4342
return LoadingStateWidget(
4443
icon: Icons.topic,
45-
headline: l10n.loadingArchivedTopics, //TODO(you): Localize this string
44+
headline: l10n.loadingArchivedTopics, // TODO(you): Localize this string
4645
subheadline: l10n.pleaseWait,
4746
);
4847
}
@@ -59,7 +58,7 @@ class _ArchivedTopicsView extends StatelessWidget {
5958
}
6059

6160
if (state.topics.isEmpty) {
62-
return Center(child: Text(l10n.noArchivedTopicsFound)); //TODO(you): Localize this string
61+
return Center(child: Text(l10n.noArchivedTopicsFound)); // TODO(you): Localize this string
6362
}
6463

6564
return Column(

0 commit comments

Comments
 (0)