1
0
Fork 0

For #778: Follow-up to fix find in page

master
Christian Sadilek 2019-10-09 16:05:12 -04:00
parent f9afd97a68
commit 7552bacb32
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ class FindInPageIntegration(
override fun onLaunch(view: View, feature: LifecycleAwareFeature) {
store.state.findCustomTabOrSelectedTab(sessionId)?.let { tab ->
if (tab is CustomTabSessionState) {
if (tab !is CustomTabSessionState) {
// Hide the toolbar to display find in page query (only
// needs to be done for regular tabs with bottom toolbar).
toolbar.visibility = View.GONE
}
view.visibility = View.VISIBLE