mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/23670 - Update collection on tab removal
This commit is contained in:
parent
f12935a278
commit
7804a4ec12
@ -117,7 +117,9 @@ sealed class AdapterItem(@LayoutRes val viewType: Int) {
|
|||||||
|
|
||||||
override fun contentsSameAs(other: AdapterItem): Boolean {
|
override fun contentsSameAs(other: AdapterItem): Boolean {
|
||||||
(other as? CollectionItem)?.let {
|
(other as? CollectionItem)?.let {
|
||||||
return it.expanded == this.expanded && it.collection.title == this.collection.title
|
return it.expanded == this.expanded &&
|
||||||
|
it.collection.title == this.collection.title &&
|
||||||
|
it.collection.tabs == this.collection.tabs
|
||||||
} ?: return false
|
} ?: return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user