We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e82c7af commit 354554eCopy full SHA for 354554e
vector/src/main/java/im/vector/app/features/roomprofile/polls/active/RoomActivePollsController.kt
@@ -33,7 +33,9 @@ class RoomActivePollsController @Inject constructor(
33
var listener: Listener? = null
34
35
override fun buildModels(data: List<PollSummary.ActivePoll>?) {
36
- if (data == null) return
+ if (data.isNullOrEmpty()) {
37
+ return
38
+ }
39
40
val host = this
41
data.forEach { poll ->
vector/src/main/res/layout/item_poll.xml
@@ -25,7 +25,8 @@
25
android:src="@drawable/ic_attachment_poll"
26
app:layout_constraintStart_toStartOf="parent"
27
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
28
- app:tint="?vctr_content_secondary" />
+ app:tint="?vctr_content_secondary"
29
+ tools:ignore="ContentDescription" />
30
31
<TextView
32
android:id="@+id/pollActiveTitle"
0 commit comments