Commit db24db4b authored by Eric Seidel's avatar Eric Seidel

Reduce precision shown for measurements

Fixes https://github.com/domokit/sky_engine/issues/548

@collinjackson
parent 15e1e264
......@@ -11,7 +11,7 @@ class Measurement extends FitnessItem {
final double weight;
// TODO(jackson): Internationalize
String get displayWeight => "${weight.toStringAsFixed(2)} lbs";
String get displayWeight => "${weight.toStringAsFixed(1)} lbs";
@override
Map toJson() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment