mirror of
https://github.com/oliexdev/openScale.git
synced 2025-09-03 05:12:42 +02:00
@@ -353,7 +353,12 @@ public class ScaleMeasurement implements Cloneable {
|
||||
}
|
||||
|
||||
public void setComment(String comment) {
|
||||
this.comment = comment;
|
||||
if (comment == null) {
|
||||
this.comment = "";
|
||||
}
|
||||
else {
|
||||
this.comment = comment;
|
||||
}
|
||||
}
|
||||
|
||||
public float getBMI(float body_height) {
|
||||
|
Reference in New Issue
Block a user