Ignore missing ContentDescription

This commit is contained in:
Maxime NATUREL 2022-12-30 16:45:28 +01:00
parent e82c7afdae
commit 354554e843
2 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,9 @@ class RoomActivePollsController @Inject constructor(
var listener: Listener? = null
override fun buildModels(data: List<PollSummary.ActivePoll>?) {
if (data == null) return
if (data.isNullOrEmpty()) {
return
}
val host = this
data.forEach { poll ->

View File

@ -25,7 +25,8 @@
android:src="@drawable/ic_attachment_poll"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
app:tint="?vctr_content_secondary" />
app:tint="?vctr_content_secondary"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/pollActiveTitle"