Bug 1837437 - update compose tabs tray size depending on orientation

fenix/116.0
alexandra.virvara 1 year ago committed by mergify[bot]
parent 649b451cd8
commit 479156f439

@ -534,14 +534,11 @@ class TabsTrayFragment : AppCompatDialogFragment() {
override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig)
if (!requireContext().settings().enableTabsTrayToCompose) {
trayBehaviorManager.updateDependingOnOrientation(newConfig.orientation)
if (requireContext().settings().gridTabView) {
if (!requireContext().settings().enableTabsTrayToCompose && requireContext().settings().gridTabView) {
tabsTrayBinding.tabsTray.adapter?.notifyDataSetChanged()
}
}
}
@VisibleForTesting
internal fun onCancelDownloadWarningAccepted(tabId: String?, source: String?) {

Loading…
Cancel
Save