Display EventType properly
This commit is contained in:
parent
d33f62b23d
commit
a1a5fbaa4f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class TherapyEventDataPoint @Inject constructor(
|
|||
}
|
||||
|
||||
override fun getLabel(): String? =
|
||||
if (data.note != null) data.note
|
||||
if (data.note.isNullOrBlank().not()) data.note
|
||||
else translator.translate(data.type)
|
||||
|
||||
override fun getDuration(): Long = data.duration
|
||||
|
|
Loading…
Reference in a new issue