fix: duplicated items in about card

This commit is contained in:
Franek 2024-06-13 22:53:32 +02:00 committed by Kuba Szczodrzyński
parent b40428794b
commit d9f3c37d9f

View File

@ -47,9 +47,7 @@ class SettingsAboutCard(util: SettingsUtil) : SettingsCard(util), CoroutineScope
items = listOf(), items = listOf(),
itemsMore = listOf(), itemsMore = listOf(),
backgroundColor = R.attr.colorPrimaryContainer.resolveAttr(activity) backgroundColor = R.attr.colorPrimaryContainer.resolveAttr(activity)
).also { )
it.items.addAll(getItems(it))
}
private val versionDetailsItem by lazy { private val versionDetailsItem by lazy {
util.createActionItem( util.createActionItem(