1
0
Fork 0

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

master
Emily Kager 2019-08-06 11:19:30 -07:00 committed by Emily Kager
parent 3c1ce90f6f
commit 23bc8f4320
1 changed files with 2 additions and 0 deletions

View File

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