WT 1.1.13+2 double values fix

This commit is contained in:
bossanyit
2021-04-19 16:49:05 +02:00
parent cc1117d8a1
commit 5fe8f76f48
16 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class ExerciseNewBloc extends Bloc<ExerciseNewEvent, ExerciseNewState> with Logg
yield ExerciseNewReady();
} else if (event is ExerciseNewWeightChange) {
yield ExerciseNewLoading();
customerRepository.setWeight(event.value.toInt());
customerRepository.setWeight(event.value);
changedWeight = true;
weight = event.value;
getBMI();