Skip to content

Commit add02ed

Browse files
committed
style: format
1 parent 9eff3b5 commit add02ed

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

lib/authentication/view/request_code_page.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
import 'package:flutter/material.dart';
55
import 'package:flutter_bloc/flutter_bloc.dart';
6+
import 'package:go_router/go_router.dart';
67
import 'package:ht_dashboard/app/bloc/app_bloc.dart';
78
import 'package:ht_dashboard/app/config/config.dart';
8-
import 'package:go_router/go_router.dart';
99
import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart';
1010
import 'package:ht_dashboard/l10n/l10n.dart';
1111
import '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('[email protected]'),
143145
style: textTheme.bodyMedium?.copyWith(

lib/content_management/view/create_category_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

lib/content_management/view/create_headline_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

lib/content_management/view/create_source_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)