WT1.1.2 build 32 login error messages fixes
This commit is contained in:
@@ -288,6 +288,10 @@ class ExerciseNewBloc extends Bloc<ExerciseNewEvent, ExerciseNewState> {
|
||||
}
|
||||
|
||||
double getBMI() {
|
||||
if (height == 0) {
|
||||
this.bmi = 0;
|
||||
return 0;
|
||||
}
|
||||
this.bmi = weight / (height * height / 10000);
|
||||
this.getGoalBMI();
|
||||
return this.bmi;
|
||||
|
||||
Reference in New Issue
Block a user