forked from github/szkolny
fix: duplicated items in about card
This commit is contained in:
parent
d2789342da
commit
eca2028595
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user