diff --git a/app/src/main/java/org/libre/agosto/p2play/ReproductorActivity.kt b/app/src/main/java/org/libre/agosto/p2play/ReproductorActivity.kt index 8e3e149..981946f 100644 --- a/app/src/main/java/org/libre/agosto/p2play/ReproductorActivity.kt +++ b/app/src/main/java/org/libre/agosto/p2play/ReproductorActivity.kt @@ -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 } diff --git a/app/src/main/res/layout/activity_reproductor.xml b/app/src/main/res/layout/activity_reproductor.xml index b35d434..b1195f6 100644 --- a/app/src/main/res/layout/activity_reproductor.xml +++ b/app/src/main/res/layout/activity_reproductor.xml @@ -224,7 +224,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/showMore" - android:visibility="visible" /> + android:visibility="gone" />