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';
1919import 'package:ht_shared/ht_shared.dart' ;
2020import 'package:timeago/timeago.dart' as timeago;
2121
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 {
2326 WidgetsFlutterBinding .ensureInitialized ();
2427 Bloc .observer = const AppBlocObserver ();
2528
@@ -215,5 +218,6 @@ Future<Widget> bootstrap(app_config.AppConfig appConfig) async {
215218 htUserContentPreferencesRepository: userContentPreferencesRepository,
216219 htAppConfigRepository: appConfigRepository,
217220 kvStorageService: kvStorage,
221+ environment: environment, // Pass environment to App
218222 );
219223}
You can’t perform that action at this time.
0 commit comments