mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/814: Scrolls to top after session restore
This commit is contained in:
parent
e1c4698859
commit
a3b1210b35
@ -224,6 +224,7 @@ class HomeFragment : Fragment() {
|
||||
requireComponents.core.sessionStorage.archive(requireComponents.core.sessionManager)
|
||||
it.archivedSession.bundle.restoreSnapshot(requireComponents.core.engine)?.apply {
|
||||
requireComponents.core.sessionManager.restore(this)
|
||||
homeScrollView.smoothScrollTo(0, 0)
|
||||
}
|
||||
}
|
||||
is SessionsAction.Delete -> {
|
||||
|
Loading…
Reference in New Issue
Block a user