Scroll to the top of home when using the tab tray
This commit is contained in:
parent
803ed6cde3
commit
d862d58051
|
@ -569,6 +569,8 @@ class HomeFragment : Fragment() {
|
|||
requireContext().settings().useNewTabTray.also {
|
||||
view?.add_tab_button?.isVisible = !it
|
||||
view?.tab_button?.isVisible = it
|
||||
// Scrolls to the top of the screen
|
||||
view?.homeAppBar?.setExpanded(true, false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user