File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import 'package:flutter_news_app_web_dashboard_full_source_code/app/config/app_e
1313import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/bloc/app_configuration_bloc.dart' ;
1414import 'package:flutter_news_app_web_dashboard_full_source_code/authentication/bloc/authentication_bloc.dart' ;
1515import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/bloc/content_management_bloc.dart' ;
16- import 'package:flutter_news_app_web_dashboard_full_source_code/overview/bloc/overview_bloc.dart' ;
1716import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart' ;
17+ import 'package:flutter_news_app_web_dashboard_full_source_code/overview/bloc/overview_bloc.dart' ;
1818import 'package:flutter_news_app_web_dashboard_full_source_code/router/router.dart' ;
1919import 'package:flutter_news_app_web_dashboard_full_source_code/shared/shared.dart' ;
2020import 'package:go_router/go_router.dart' ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class AppShell extends StatelessWidget {
2727 final l10n = AppLocalizationsX (context).l10n;
2828 return Scaffold (
2929 appBar: AppBar (
30- title: Text (l10n.dashboard ),
30+ title: Text (l10n.overview ),
3131 actions: [
3232 PopupMenuButton <String >(
3333 onSelected: (value) {
@@ -73,7 +73,7 @@ class AppShell extends StatelessWidget {
7373 NavigationDestination (
7474 icon: const Icon (Icons .dashboard_outlined),
7575 selectedIcon: const Icon (Icons .dashboard),
76- label: l10n.dashboard ,
76+ label: l10n.overview ,
7777 ),
7878 NavigationDestination (
7979 icon: const Icon (Icons .folder_open_outlined),
Original file line number Diff line number Diff line change @@ -1280,7 +1280,7 @@ class _FeedDecoratorFormState extends State<_FeedDecoratorForm> {
12801280 Map <AppUserRole , FeedDecoratorRoleConfig >.from (
12811281 decoratorConfig.visibleTo,
12821282 );
1283- if (value == true ) {
1283+ if (value ?? false ) {
12841284 newVisibleTo[role] = const FeedDecoratorRoleConfig (
12851285 daysBetweenViews: 7 ,
12861286 );
Original file line number Diff line number Diff line change 11import 'package:core/core.dart' ;
22import 'package:flutter/material.dart' ;
33import 'package:flutter_bloc/flutter_bloc.dart' ;
4- import 'package:flutter_news_app_web_dashboard_full_source_code/overview/bloc/overview_bloc.dart' ;
54import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart' ;
5+ import 'package:flutter_news_app_web_dashboard_full_source_code/overview/bloc/overview_bloc.dart' ;
66import 'package:flutter_news_app_web_dashboard_full_source_code/router/routes.dart' ;
77import 'package:go_router/go_router.dart' ;
88import 'package:ui_kit/ui_kit.dart' ;
@@ -36,8 +36,8 @@ class _OverviewPageState extends State<OverviewPage> {
3636 state.status == OverviewStatus .initial) {
3737 return LoadingStateWidget (
3838 icon: Icons .dashboard_outlined,
39- headline: l10n.loadingDashboard ,
40- subheadline: l10n.loadingDashboardSubheadline ,
39+ headline: l10n.loadingOverview ,
40+ subheadline: l10n.loadingOverviewSubheadline ,
4141 );
4242 }
4343 if (state.status == OverviewStatus .failure) {
You can’t perform that action at this time.
0 commit comments