TriggerDelta show units

This commit is contained in:
Milos Kozak 2019-08-27 19:35:37 +02:00
parent 022ca2fe6e
commit f184aa0c6a
2 changed files with 2 additions and 1 deletions

View file

@ -194,7 +194,7 @@ public class TriggerDelta extends Trigger {
new LayoutBuilder() new LayoutBuilder()
.add(new StaticLabel(R.string.deltalabel)) .add(new StaticLabel(R.string.deltalabel))
.add(comparator) .add(comparator)
.add(new LabelWithElement(MainApp.gs(R.string.deltalabel) + ": ", "", value)) .add(new LabelWithElement(MainApp.gs(R.string.deltalabel_u, getUnits()) + ": ", "", value))
.build(root); .build(root);
} }

View file

@ -1463,6 +1463,7 @@
<string name="autosenslabel">Autosens %</string> <string name="autosenslabel">Autosens %</string>
<string name="deltacompared">%3$s %1$s %2$s</string> <string name="deltacompared">%3$s %1$s %2$s</string>
<string name="deltalabel">BG difference</string> <string name="deltalabel">BG difference</string>
<string name="deltalabel_u">BG difference [%1$s]</string>
<string name="currentlocation">Current Location</string> <string name="currentlocation">Current Location</string>
<string name="location">Location</string> <string name="location">Location</string>
<string name="latitude_short">Lat:</string> <string name="latitude_short">Lat:</string>