[fenix] Fix https://github.com/mozilla-mobile/fenix/issues/1531 - Remember HistoryState.Mode to choose the right HistoryAction.Delete

pull/600/head
Mugurell 6 years ago committed by Colin Lee
parent d05366c11d
commit 184d997221

@ -33,7 +33,7 @@ class HistoryDeleteButtonViewHolder(
}
}
fun bind(mode: HistoryState.Mode) {
val mode = mode
this.mode = mode
val text = if (mode is HistoryState.Mode.Editing && mode.selectedItems.isNotEmpty()) {
textView.context.resources.getString(

Loading…
Cancel
Save