Remove extra minus sign from Bolus Wizard timeshift result
This commit is contained in:
parent
3e45ab5187
commit
151fb270df
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ class BolusWizard @Inject constructor(
|
||||||
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) + ": " + resourceHelper.gs(R.string.format_carbs, carbs).formatColor(resourceHelper, R.color.carbs) + timeShift)
|
actions.add(resourceHelper.gs(R.string.carbs) + ": " + resourceHelper.gs(R.string.format_carbs, carbs).formatColor(resourceHelper, R.color.carbs) + timeShift)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue