1
0
Fork 0

For #9619 hide overflow menu for all history items in selected mode

master
Shen 2020-07-30 17:25:57 -07:00 committed by Emily Kager
parent 65793f7fd7
commit b52c4320f0
1 changed files with 3 additions and 3 deletions

View File

@ -68,10 +68,10 @@ class HistoryListItemViewHolder(
itemView.history_layout.loadFavicon(item.url)
}
if (item !in selectionHolder.selectedItems) {
itemView.overflow_menu.showAndEnable()
} else {
if (mode is HistoryFragmentState.Mode.Editing) {
itemView.overflow_menu.hideAndDisable()
} else {
itemView.overflow_menu.showAndEnable()
}
this.item = item