|
@@ -9,6 +9,7 @@ import 'package:get_it/get_it.dart';
|
|
|
import 'package:package_info/package_info.dart';
|
|
|
import 'package:shared_preferences/shared_preferences.dart';
|
|
|
import 'package:sport/application.dart';
|
|
|
+import 'package:sport/application.dart' as app;
|
|
|
import 'package:sport/config.dart';
|
|
|
import 'package:sport/provider/bluetooth.dart';
|
|
|
import 'package:sport/provider/game_info_model.dart';
|
|
@@ -57,6 +58,7 @@ class ConfigInject {
|
|
|
|
|
|
void inject(Config config) {
|
|
|
isDebugShoe = config.debug;
|
|
|
+ app.config = config;
|
|
|
|
|
|
GetIt getIt = GetIt.instance;
|
|
|
|