2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00

Fixes #3602:navigate to top of home screen after tapping "start browsing"

After onboarding.finish(), scrolled homeLayout to top
This commit is contained in:
mihai-adrian 2019-08-23 16:46:59 +03:00 committed by Emily Kager
parent f25a9660e8
commit 5e78420cce

View File

@ -295,7 +295,7 @@ class HomeFragment : Fragment(), AccountObserver {
Do exhaustive when (action) { Do exhaustive when (action) {
is OnboardingAction.Finish -> { is OnboardingAction.Finish -> {
onboarding.finish() onboarding.finish()
homeLayout?.progress = 0F
val mode = currentMode(context!!) val mode = currentMode(context!!)
getManagedEmitter<SessionControlChange>().onNext( getManagedEmitter<SessionControlChange>().onNext(
SessionControlChange.ModeChange( SessionControlChange.ModeChange(