File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ import 'package:ht_main/shared/localization/en_timeago_messages.dart';
19
19
import 'package:ht_shared/ht_shared.dart' ;
20
20
import 'package:timeago/timeago.dart' as timeago;
21
21
22
- Future <Widget > bootstrap (app_config.AppConfig appConfig) async {
22
+ Future <Widget > bootstrap (
23
+ app_config.AppConfig appConfig,
24
+ app_config.AppEnvironment environment, // Added
25
+ ) async {
23
26
WidgetsFlutterBinding .ensureInitialized ();
24
27
Bloc .observer = const AppBlocObserver ();
25
28
@@ -215,5 +218,6 @@ Future<Widget> bootstrap(app_config.AppConfig appConfig) async {
215
218
htUserContentPreferencesRepository: userContentPreferencesRepository,
216
219
htAppConfigRepository: appConfigRepository,
217
220
kvStorageService: kvStorage,
221
+ environment: environment, // Pass environment to App
218
222
);
219
223
}
You can’t perform that action at this time.
0 commit comments