Remove extra minus sign from Bolus Wizard timeshift result

This commit is contained in:
Stephen Brown II 2020-10-02 14:21:12 -06:00 committed by Stephen Brown II
parent 3e45ab5187
commit 151fb270df

View file

@ -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)
} }