One textview is enough for disabled comments

Ref: https://github.com/TeamNewPipe/NewPipe/pull/6483#discussion_r654793920
This commit is contained in:
litetex 2021-06-19 15:03:20 +02:00 committed by Stypox
parent 75a8edf20f
commit 36c198fc33
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
2 changed files with 7 additions and 15 deletions

View file

@ -41,6 +41,7 @@
tools:ignore="HardcodedText,UnusedAttribute" />
<TextView
android:id="@+id/empty_state_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@ -49,17 +50,6 @@
</LinearLayout>
<TextView
android:id="@+id/comments_disabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/empty_state_view"
android:layout_centerHorizontal="true"
android:text="@string/comments_are_disabled"
android:textSize="20sp"
android:visibility="gone"
tools:visibility="visible" />
<!--ERROR PANEL-->
<include
android:id="@+id/error_panel"