Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #778: Follow-up to fix find in page
Browse files Browse the repository at this point in the history
  • Loading branch information
csadilek committed Oct 9, 2019
1 parent f9afd97 commit 7552bac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7552bac

Please sign in to comment.