fix: duplicated items in about card

This commit is contained in:
Franek 2024-06-13 22:53:32 +02:00
parent d2789342da
commit eca2028595
No known key found for this signature in database
GPG Key ID: 0329F871B2079351

View File

@ -47,9 +47,7 @@ class SettingsAboutCard(util: SettingsUtil) : SettingsCard(util), CoroutineScope
items = ::getItems, items = ::getItems,
itemsMore = ::getItemsMore, itemsMore = ::getItemsMore,
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(