diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/graphExtensions/TherapyEventDataPoint.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/graphExtensions/TherapyEventDataPoint.kt index 68b96bf0fb..7f88e33cd1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/graphExtensions/TherapyEventDataPoint.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/graphExtensions/TherapyEventDataPoint.kt @@ -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