Fixes #5351 - listen to onIconChanged in HomeFragment
parent
fe648a0b99
commit
80a1e6dd2c
|
@ -6,6 +6,7 @@ package org.mozilla.fenix.home
|
|||
|
||||
import android.animation.Animator
|
||||
import android.content.DialogInterface
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.drawable.BitmapDrawable
|
||||
import android.os.Bundle
|
||||
import android.view.Gravity
|
||||
|
@ -110,6 +111,10 @@ class HomeFragment : Fragment() {
|
|||
override fun onTitleChanged(session: Session, title: String) {
|
||||
if (deleteAllSessionsJob == null) emitSessionChanges()
|
||||
}
|
||||
|
||||
override fun onIconChanged(session: Session, icon: Bitmap?) {
|
||||
if (deleteAllSessionsJob == null) emitSessionChanges()
|
||||
}
|
||||
}
|
||||
|
||||
private val collectionStorageObserver = object : TabCollectionStorage.Observer {
|
||||
|
|
Loading…
Reference in New Issue