Merge pull request #2850 from Philoul/NewLineTarget

Target line feed in compare profile viewer
This commit is contained in:
Milos Kozak 2020-07-24 10:05:04 +02:00 committed by GitHub
commit a38844fcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ class ProfileViewerDialog : DaggerDialogFragment() {
profileview_ic.text = ics(profile1, profile2)
profileview_isf.text = isfs(profile1, profile2)
profileview_basal.text = basals(profile1, profile2)
profileview_target.text = HtmlHelper.fromHtml(formatColors("", profile1.targetList + "<br>", profile2.targetList, ""))
profileview_target.text = HtmlHelper.fromHtml(formatColors("", profile1.targetList.replace("\n","<br>") + "<br>", profile2.targetList.replace("\n","<br>"), ""))
basal_graph.show(profile1, profile2)
}