For #778: Follow-up to fix find in page
parent
f9afd97a68
commit
7552bacb32
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue