add the check to daily view too
This commit is contained in:
parent
bcad8aafef
commit
97ee44979e
|
@ -122,7 +122,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
|
|||
event_item_title.text = item.title
|
||||
event_item_description.text = item.description
|
||||
event_item_start.text = Formatter.getTime(item.startTS)
|
||||
toggleItemSelection(itemView, markedItems.contains(pos), pos)
|
||||
toggleItemSelection(this, markedItems.contains(pos), pos)
|
||||
|
||||
if (item.startTS == item.endTS) {
|
||||
event_item_end.visibility = View.INVISIBLE
|
||||
|
|
|
@ -94,6 +94,7 @@ class EventsAdapter(val activity: SimpleActivity, val mItems: List<Event>, val l
|
|||
event_item_title.text = event.title
|
||||
event_item_description.text = event.description
|
||||
event_item_start.text = Formatter.getTime(event.startTS)
|
||||
toggleItemSelection(this, markedItems.contains(pos), pos)
|
||||
|
||||
if (event.startTS == event.endTS) {
|
||||
event_item_end.visibility = View.INVISIBLE
|
||||
|
|
Loading…
Reference in New Issue