mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
parent
edfb85b021
commit
614471495d
@ -28,9 +28,9 @@ class RecentlyClosedAdapter(
|
|||||||
|
|
||||||
private object DiffCallback : DiffUtil.ItemCallback<ClosedTab>() {
|
private object DiffCallback : DiffUtil.ItemCallback<ClosedTab>() {
|
||||||
override fun areItemsTheSame(oldItem: ClosedTab, newItem: ClosedTab) =
|
override fun areItemsTheSame(oldItem: ClosedTab, newItem: ClosedTab) =
|
||||||
oldItem.id == newItem.id || oldItem.title == newItem.title || oldItem.url == newItem.url
|
oldItem.id == newItem.id
|
||||||
|
|
||||||
override fun areContentsTheSame(oldItem: ClosedTab, newItem: ClosedTab) =
|
override fun areContentsTheSame(oldItem: ClosedTab, newItem: ClosedTab) =
|
||||||
oldItem.id == newItem.id || oldItem.title == newItem.title || oldItem.url == newItem.url
|
oldItem.id == newItem.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user