|
|
@ -33,7 +33,9 @@ class FindInPageIntegration(
|
|
|
|
|
|
|
|
|
|
|
|
override fun onLaunch(view: View, feature: LifecycleAwareFeature) {
|
|
|
|
override fun onLaunch(view: View, feature: LifecycleAwareFeature) {
|
|
|
|
store.state.findCustomTabOrSelectedTab(sessionId)?.let { tab ->
|
|
|
|
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
|
|
|
|
toolbar.visibility = View.GONE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
view.visibility = View.VISIBLE
|
|
|
|
view.visibility = View.VISIBLE
|
|
|
|