Show more fixed

This commit is contained in:
ivan agosto 2019-02-17 18:42:08 -06:00
parent 90f2ab6e7d
commit d360a1849e
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class ReproductorActivity : AppCompatActivity() {
viewsTxt.text = "${this.video.views} ${getString(R.string.view_text)}" viewsTxt.text = "${this.video.views} ${getString(R.string.view_text)}"
userTxt.text = this.video.username userTxt.text = this.video.username
descriptionVideoTxt.text = this.video.description descriptionVideoTxt.text = this.video.description
val haveDescription = this.video.description.contains("...", ignoreCase = false) val haveDescription = this.video.description.endsWith("...")
if (haveDescription) { if (haveDescription) {
showMoreBtn.visibility = View.VISIBLE showMoreBtn.visibility = View.VISIBLE
} }

View File

@ -224,7 +224,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/showMore" android:text="@string/showMore"
android:visibility="visible" /> android:visibility="gone" />
<View <View
android:id="@+id/divider" android:id="@+id/divider"