From d9f3c37d9fe0581c710e122f32034f38db43c138 Mon Sep 17 00:00:00 2001 From: sadorowo Date: Thu, 13 Jun 2024 22:53:32 +0200 Subject: [PATCH] fix: duplicated items in about card --- .../edziennik/ui/settings/cards/SettingsAboutCard.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/cards/SettingsAboutCard.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/cards/SettingsAboutCard.kt index 8823c6eb..b1054129 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/cards/SettingsAboutCard.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/cards/SettingsAboutCard.kt @@ -47,9 +47,7 @@ class SettingsAboutCard(util: SettingsUtil) : SettingsCard(util), CoroutineScope items = listOf(), itemsMore = listOf(), backgroundColor = R.attr.colorPrimaryContainer.resolveAttr(activity) - ).also { - it.items.addAll(getItems(it)) - } + ) private val versionDetailsItem by lazy { util.createActionItem(