Add training plan and GIF exercise catalog
This commit is contained in:
@@ -5,6 +5,7 @@ import 'services/auth_service.dart';
|
||||
import 'services/gps_service.dart';
|
||||
import 'services/sync_service.dart';
|
||||
import 'services/analytics_service.dart';
|
||||
import 'services/training_plan_service.dart';
|
||||
import 'controllers/workout_controller.dart';
|
||||
import 'screens/home_screen.dart';
|
||||
import 'screens/phone_login_screen.dart';
|
||||
@@ -16,6 +17,7 @@ void main() async {
|
||||
// بالترتيب: قاعدة البيانات -> الهوية -> GPS -> المزامنة -> التحليل
|
||||
await Get.putAsync<DatabaseService>(() => DatabaseService().init());
|
||||
await Get.putAsync<AuthService>(() => AuthService().init());
|
||||
Get.put(TrainingPlanService(auth: Get.find<AuthService>()));
|
||||
Get.put(GpsService());
|
||||
await Get.putAsync<SyncService>(() => SyncService().init());
|
||||
Get.put(AnalyticsService());
|
||||
|
||||
Reference in New Issue
Block a user