Skip to content

Commit 658d230

Browse files
committed
refactor(bootstrap): update imports and remove timeago localization
- Remove unused imports for timeago localization - Add import for ht_ui_kit package - Remove unused kIsWeb constant from HtHttpClient
1 parent 382d7bd commit 658d230

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/bootstrap.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import 'package:ht_auth_repository/ht_auth_repository.dart';
88
import 'package:ht_dashboard/app/app.dart';
99
import 'package:ht_dashboard/app/config/config.dart' as app_config;
1010
import 'package:ht_dashboard/bloc_observer.dart';
11-
import 'package:ht_dashboard/shared/localization/ar_timeago_messages.dart';
12-
import 'package:ht_dashboard/shared/localization/en_timeago_messages.dart';
1311
import 'package:ht_data_api/ht_data_api.dart';
1412
import 'package:ht_data_client/ht_data_client.dart';
1513
import 'package:ht_data_inmemory/ht_data_inmemory.dart';
1614
import 'package:ht_data_repository/ht_data_repository.dart';
1715
import 'package:ht_http_client/ht_http_client.dart';
1816
import 'package:ht_kv_storage_shared_preferences/ht_kv_storage_shared_preferences.dart';
1917
import 'package:ht_shared/ht_shared.dart';
18+
import 'package:ht_ui_kit/ht_ui_kit.dart';
2019
import 'package:logging/logging.dart';
2120
import 'package:timeago/timeago.dart' as timeago;
2221

@@ -48,7 +47,6 @@ Future<Widget> bootstrap(
4847
httpClient = HtHttpClient(
4948
baseUrl: appConfig.baseUrl,
5049
tokenProvider: () => authenticationRepository.getAuthToken(),
51-
isWeb: kIsWeb,
5250
);
5351
authClient = HtAuthApi(
5452
httpClient: httpClient,

0 commit comments

Comments
 (0)