mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Fix crash from TabThumbnailView where drawable is null (https://github.com/mozilla-mobile/fenix/pull/11121)
This commit is contained in:
parent
659dcd1a08
commit
ed7a7b66fc
@ -72,6 +72,7 @@ class TabTrayViewHolder(
|
||||
thumbnailView.visibility = View.VISIBLE
|
||||
iconView?.visibility = View.INVISIBLE
|
||||
} else {
|
||||
thumbnailView.setImageBitmap(null)
|
||||
iconView?.setImageBitmap(tab.icon)
|
||||
thumbnailView.visibility = View.INVISIBLE
|
||||
iconView?.visibility = View.VISIBLE
|
||||
|
Loading…
Reference in New Issue
Block a user