Fix coding style

This commit is contained in:
Maxime NATUREL 2022-09-14 10:34:04 +02:00
parent 51532687b9
commit 87e1b53c6e

View file

@ -66,7 +66,7 @@ class SessionsListHeaderView @JvmOverloads constructor(
}
val hasLearnMoreLink = typedArray.getBoolean(R.styleable.SessionsListHeaderView_sessionsListHeaderHasLearnMoreLink, true)
if(hasLearnMoreLink) {
if (hasLearnMoreLink) {
setDescriptionWithLearnMore(description)
} else {
binding.sessionsListHeaderDescription.text = description