File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 33
44import 'package:flutter/material.dart' ;
55import 'package:flutter_bloc/flutter_bloc.dart' ;
6+ import 'package:go_router/go_router.dart' ;
67import 'package:ht_dashboard/app/bloc/app_bloc.dart' ;
78import 'package:ht_dashboard/app/config/config.dart' ;
8- import 'package:go_router/go_router.dart' ;
99import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
1010import 'package:ht_dashboard/l10n/l10n.dart' ;
1111import 'package:ht_dashboard/router/routes.dart' ;
@@ -137,7 +137,9 @@ class _RequestCodeView extends StatelessWidget {
137137 builder: (context, environment) {
138138 if (environment == AppEnvironment .demo) {
139139 return Padding (
140- padding: const EdgeInsets .only (top: AppSpacing .lg),
140+ padding: const EdgeInsets .only (
141+ top: AppSpacing .lg,
142+ ),
141143 child: Text (
142144 l10n.demoEmailHint ('admin@example.com' ),
143145 style: textTheme.bodyMedium? .copyWith (
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ class _CreateCategoryViewState extends State<_CreateCategoryView> {
8282 SnackBar (content: Text (l10n.categoryCreatedSuccessfully)),
8383 );
8484 context.read <ContentManagementBloc >().add (
85- // Refresh the list to show the new category
86- const LoadCategoriesRequested (limit: kDefaultRowsPerPage),
85+ // Refresh the list to show the new category
86+ const LoadCategoriesRequested (limit: kDefaultRowsPerPage),
8787 );
8888 context.pop ();
8989 }
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class _CreateHeadlineViewState extends State<_CreateHeadlineView> {
8484 SnackBar (content: Text (l10n.headlineCreatedSuccessfully)),
8585 );
8686 context.read <ContentManagementBloc >().add (
87- // Refresh the list to show the new headline
88- const LoadHeadlinesRequested (limit: kDefaultRowsPerPage),
87+ // Refresh the list to show the new headline
88+ const LoadHeadlinesRequested (limit: kDefaultRowsPerPage),
8989 );
9090 context.pop ();
9191 }
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
8484 SnackBar (content: Text (l10n.sourceCreatedSuccessfully)),
8585 );
8686 context.read <ContentManagementBloc >().add (
87- // Refresh the list to show the new source
88- const LoadSourcesRequested (limit: kDefaultRowsPerPage),
87+ // Refresh the list to show the new source
88+ const LoadSourcesRequested (limit: kDefaultRowsPerPage),
8989 );
9090 context.pop ();
9191 }
You can’t perform that action at this time.
0 commit comments