Skip to content

Commit

Permalink
Rename poll item layout to be more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaturel committed Jan 4, 2023
1 parent bd9c53a commit 6c0c5e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import im.vector.app.core.epoxy.VectorEpoxyModel
import im.vector.app.core.epoxy.onClick

@EpoxyModelClass
abstract class ActivePollItem : VectorEpoxyModel<ActivePollItem.Holder>(R.layout.item_poll_active) {
abstract class ActivePollItem : VectorEpoxyModel<ActivePollItem.Holder>(R.layout.item_poll) {

@EpoxyAttribute
lateinit var formattedDate: String
Expand Down
2 changes: 1 addition & 1 deletion vector/src/main/res/layout/fragment_room_polls_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:itemCount="5"
tools:listitem="@layout/item_poll_active" />
tools:listitem="@layout/item_poll" />

<TextView
android:id="@+id/roomPollsEmptyTitle"
Expand Down
File renamed without changes.

0 comments on commit 6c0c5e5

Please sign in to comment.