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

Commit 5c29abcf authored by Edgar Wang's avatar Edgar Wang
Browse files

Fix TopIntroPreference title visibility

Bug:349661844
Change-Id: I5bd471e65d9dfc410c99622ca1e63873bb464f2d
Test: visual
Flag: EXEMPT bug fix
parent 5e9b7e14
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ open class TopIntroPreference @JvmOverloads constructor(
        (holder.findViewById(R.id.collapsable_text_view) as? CollapsableTextView)?.apply {
            setCollapsable(isCollapsable)
            setMinLines(minLines)
            visibility = if (title.isNullOrEmpty()) View.GONE else View.VISIBLE
            setText(title.toString())
            if (hyperlinkListener != null) {
                setHyperlinkListener(hyperlinkListener)