diff --git a/app/feature/feature-insurances/src/main/kotlin/com/hedvig/android/feature/insurances/insurancedetail/coverage/CoverageTab.kt b/app/feature/feature-insurances/src/main/kotlin/com/hedvig/android/feature/insurances/insurancedetail/coverage/CoverageTab.kt index c7f2db1634..8c55a03f57 100644 --- a/app/feature/feature-insurances/src/main/kotlin/com/hedvig/android/feature/insurances/insurancedetail/coverage/CoverageTab.kt +++ b/app/feature/feature-insurances/src/main/kotlin/com/hedvig/android/feature/insurances/insurancedetail/coverage/CoverageTab.kt @@ -98,8 +98,7 @@ internal fun CoverageTab( ) Spacer(Modifier.height(16.dp)) } - if (addons?.isNotEmpty() == true) { - addons.forEach { addon -> + for (addon in addons.orEmpty()) { Spacer(Modifier.height(16.dp)) HighlightLabel( labelText = addon.addonVariant.displayName,