[fenix] Fro https://github.com/mozilla-mobile/fenix/issues/4563 - Update delete button alpha when history mode changes

pull/600/head
Emily Kager 5 years ago committed by Emily Kager
parent 9daf0c9542
commit f569fef876

@ -43,6 +43,8 @@ class HistoryAdapter(
fun updateMode(mode: HistoryState.Mode) {
this.mode = mode
// Update the delete button alpha that the first item holds
if (itemCount > 0) notifyItemChanged(0)
}
override fun onBindViewHolder(holder: HistoryListItemViewHolder, position: Int) {

Loading…
Cancel
Save