mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
fix: duplicated items in about card
This commit is contained in:
parent
b40428794b
commit
d9f3c37d9f
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user