mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 09:55:40 +03:00
Ignore missing ContentDescription
This commit is contained in:
parent
e82c7afdae
commit
354554e843
2 changed files with 5 additions and 2 deletions
|
@ -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 ->
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue