WT 1.1.18+6 fixes

This commit is contained in:
bossanyit
2021-06-06 10:50:18 +02:00
parent 0ca3b71c03
commit 5398f80e27
4 changed files with 22 additions and 4 deletions
@@ -191,6 +191,7 @@ class TrainingPlanBloc extends Bloc<TrainingPlanEvent, TrainingPlanState> {
}
_myPlan!.trainingPlanId = 0;
_myPlan!.name = "Custom";
_myPlan!.dateAdd = DateTime.now();
_myPlan!.customerId = Cache().userLoggedIn == null ? Cache().userLoggedIn!.customerId : 0;
_myPlan!.type = CustomerTrainingPlanType.custom;