Show more fixed
This commit is contained in:
parent
90f2ab6e7d
commit
d360a1849e
|
@ -61,7 +61,7 @@ class ReproductorActivity : AppCompatActivity() {
|
|||
viewsTxt.text = "${this.video.views} ${getString(R.string.view_text)}"
|
||||
userTxt.text = this.video.username
|
||||
descriptionVideoTxt.text = this.video.description
|
||||
val haveDescription = this.video.description.contains("...", ignoreCase = false)
|
||||
val haveDescription = this.video.description.endsWith("...")
|
||||
if (haveDescription) {
|
||||
showMoreBtn.visibility = View.VISIBLE
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/showMore"
|
||||
android:visibility="visible" />
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider"
|
||||
|
|
Loading…
Reference in New Issue