Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 77af37e1 authored by Sebastiano Barezzi's avatar Sebastiano Barezzi
Browse files

Twelve: ListItem: `Context.getColorStateList` uses the current theme

Change-Id: I38b6d7aa7c7c5a58ed392d4f275c7bc54ee235c1
parent aca4e687
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ class ListItem @JvmOverloads constructor(

    init {
        setCardBackgroundColor(
            resources.getColorStateList(R.color.list_item_background, context.theme)
            context.getColorStateList(R.color.list_item_background)
        )
        cardElevation = 0f
        radius = 0f