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
+2 -2
View File
@@ -125,9 +125,9 @@ class CustomerRepository with Logging {
this.customer!.sex = sex;
}
setWeight(int weight) {
setWeight(double weight) {
final propertyName = "Weight";
this.setCustomerProperty(propertyName, weight.toDouble());
this.setCustomerProperty(propertyName, weight);
}
setHeight(int height) {