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