WT 1.1.18+7 fix not details activate

This commit is contained in:
bossanyit
2021-06-06 22:06:43 +02:00
parent 5398f80e27
commit f5ef0ed9ce
3 changed files with 7 additions and 4 deletions
@@ -308,6 +308,9 @@ class TrainingPlanActivatePage extends StatelessWidget with Trans {
}
void activate(TrainingPlan plan, TrainingPlanBloc bloc) {
if (plan.details == null || plan.details!.isEmpty) {
return;
}
if (Cache().myTrainingPlan != null) {
showCupertinoDialog(
useRootNavigator: true,