GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 2f1b9030 authored by mcarare's avatar mcarare Committed by Mihai Adrian Carare
Browse files

For #14289: Check if toolbar is initialised before setting flags.

parent 0a15314c
......@@ -1162,6 +1162,8 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
}
override fun onAccessibilityStateChanged(enabled: Boolean) {
browserToolbarView.setScrollFlags(enabled)
if (_browserToolbarView != null) {
browserToolbarView.setScrollFlags(enabled)
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment