show tir range

This commit is contained in:
Milos Kozak 2020-08-27 10:38:53 +02:00
parent f9853e2e8f
commit 134b79dd8a

View file

@ -76,7 +76,7 @@ class TirCalculator @Inject constructor(
val tit30 = calculate(30, lowTitMgdl, highTitMgdl)
val averageTit30 = averageTIR(tit30)
return HtmlHelper.fromHtml(
"<br><b>" + resourceHelper.gs(R.string.tir) + ":</b><br>" +
"<br><b>" + resourceHelper.gs(R.string.tir) + " (" + Profile.toCurrentUnitsString(profileFunction, lowTirMgdl) + "-" + Profile.toCurrentUnitsString(profileFunction, highTirMgdl) + "):</b><br>" +
toText(resourceHelper, tir7) +
"<br><b>" + resourceHelper.gs(R.string.average) + " (" + Profile.toCurrentUnitsString(profileFunction, lowTirMgdl) + "-" + Profile.toCurrentUnitsString(profileFunction, highTirMgdl) + "):</b><br>" +
averageTir7.toText(resourceHelper, tir7.size()) + "<br>" +