Fro #4563 - Update delete button alpha when history mode changes

nightly-build-test
Emily Kager 5 years ago committed by Emily Kager
parent 3c1ce90f6f
commit 23bc8f4320

@ -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