BolusWizard typographic
This commit is contained in:
parent
2c8e39af7c
commit
1bbca2787b
|
@ -280,9 +280,9 @@ class BolusWizard @Inject constructor(
|
|||
if (carbs > 0) {
|
||||
var timeShift = ""
|
||||
if (carbTime > 0) {
|
||||
timeShift += " ( +" + resourceHelper.gs(R.string.mins, carbTime) + " )"
|
||||
timeShift += " (+" + resourceHelper.gs(R.string.mins, carbTime) + ")"
|
||||
} else if (carbTime < 0) {
|
||||
timeShift += " ( -" + resourceHelper.gs(R.string.mins, carbTime) + " )"
|
||||
timeShift += " (-" + resourceHelper.gs(R.string.mins, carbTime) + ")"
|
||||
}
|
||||
actions.add(resourceHelper.gs(R.string.carbs) + ": " + "<font color='" + resourceHelper.gc(R.color.carbs) + "'>" + carbs + "g" + timeShift + "</font>")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue