Skip to content
Snippets Groups Projects
Unverified Commit 42cb015c authored by Matthew Finkel's avatar Matthew Finkel
Browse files

squash! Add Tor integration and UI

Bug 40176: Re-render Home fragment on resume
parent a0debdae
Branches
No related tags found
1 merge request!135squash! Add Tor integration and UI
......@@ -835,6 +835,15 @@ class HomeFragment : Fragment() {
activity?.window?.setBackgroundDrawableResource(R.drawable.private_home_background_gradient)
}
// fenix#40176: Ensure the Home fragment is rendered correctly when we resume.
val localView = view
if (localView != null) {
val mode = currentMode.getCurrentMode()
adjustHomeFragmentView(mode, localView)
updateSessionControlView(localView)
showSessionControlView(localView)
}
hideToolbar()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment