Merge pull request #978 from Philoul/New/AddBasalSumToProfileViewer

Add basal daily total to profile viewer
This commit is contained in:
Milos Kozak 2021-11-23 10:03:35 +01:00 committed by GitHub
commit 0f43b8c6a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ class ProfileViewerDialog : DaggerDialogFragment() {
binding.date.text = date
binding.ic.text = it.getIcList(rh, dateUtil)
binding.isf.text = it.getIsfList(rh, dateUtil)
binding.basal.text = it.getBasalList(rh, dateUtil)
binding.basal.text = "" + rh.gs(R.string.formatinsulinunits, it.baseBasalSum()) + "\n" + it.getBasalList(rh, dateUtil)
binding.target.text = it.getTargetList(rh, dateUtil)
binding.basalGraph.show(it)