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