File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change
1
+ // ignore_for_file: unused_field
2
+
1
3
import 'dart:async' ;
2
4
3
5
import 'package:bloc/bloc.dart' ;
@@ -18,6 +20,8 @@ class AppBloc extends Bloc<AppEvent, AppState> {
18
20
required local_config.AppEnvironment environment,
19
21
}) : _authenticationRepository = authenticationRepository,
20
22
_userAppSettingsRepository = userAppSettingsRepository,
23
+ _appConfigRepository = appConfigRepository,
24
+ _environment = environment,
21
25
super (
22
26
const AppState (),
23
27
) {
@@ -32,6 +36,8 @@ class AppBloc extends Bloc<AppEvent, AppState> {
32
36
33
37
final HtAuthRepository _authenticationRepository;
34
38
final HtDataRepository <UserAppSettings > _userAppSettingsRepository;
39
+ final HtDataRepository <AppConfig > _appConfigRepository;
40
+ final local_config.AppEnvironment _environment;
35
41
late final StreamSubscription <User ?> _userSubscription;
36
42
37
43
/// Handles user changes and loads initial settings once user is available.
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import 'package:ht_dashboard/content_management/view/content_management_page.dar
15
15
import 'package:ht_dashboard/content_management/view/headlines_page.dart' ;
16
16
import 'package:ht_dashboard/content_management/view/sources_page.dart' ;
17
17
import 'package:ht_dashboard/dashboard/view/dashboard_page.dart' ;
18
- import 'package:ht_dashboard/l10n/l10n.dart' ;
19
18
import 'package:ht_dashboard/router/routes.dart' ;
20
19
import 'package:ht_dashboard/settings/view/settings_page.dart' ;
21
20
import 'package:ht_dashboard/shared/widgets/placeholder_create_page.dart' ;
You can’t perform that action at this time.
0 commit comments