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 3
3
4
4
import 'package:flutter/material.dart' ;
5
5
import 'package:flutter_bloc/flutter_bloc.dart' ;
6
+ import 'package:go_router/go_router.dart' ;
6
7
import 'package:ht_dashboard/app/bloc/app_bloc.dart' ;
7
8
import 'package:ht_dashboard/app/config/config.dart' ;
8
- import 'package:go_router/go_router.dart' ;
9
9
import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
10
10
import 'package:ht_dashboard/l10n/l10n.dart' ;
11
11
import 'package:ht_dashboard/router/routes.dart' ;
@@ -137,7 +137,9 @@ class _RequestCodeView extends StatelessWidget {
137
137
builder: (context, environment) {
138
138
if (environment == AppEnvironment .demo) {
139
139
return Padding (
140
- padding: const EdgeInsets .only (top: AppSpacing .lg),
140
+ padding: const EdgeInsets .only (
141
+ top: AppSpacing .lg,
142
+ ),
141
143
child: Text (
142
144
l10n.
demoEmailHint (
'[email protected] ' ),
143
145
style: textTheme.bodyMedium? .copyWith (
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ class _CreateCategoryViewState extends State<_CreateCategoryView> {
82
82
SnackBar (content: Text (l10n.categoryCreatedSuccessfully)),
83
83
);
84
84
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),
87
87
);
88
88
context.pop ();
89
89
}
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class _CreateHeadlineViewState extends State<_CreateHeadlineView> {
84
84
SnackBar (content: Text (l10n.headlineCreatedSuccessfully)),
85
85
);
86
86
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),
89
89
);
90
90
context.pop ();
91
91
}
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
84
84
SnackBar (content: Text (l10n.sourceCreatedSuccessfully)),
85
85
);
86
86
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),
89
89
);
90
90
context.pop ();
91
91
}
You can’t perform that action at this time.
0 commit comments