[iOS] Hide tab bar when using bottom bar & in overlay mode (#34994)
This commit is contained in:
+3
-3
@@ -1609,10 +1609,10 @@ public class BrowserViewController: UIViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func shouldShowTabBar() -> Bool {
|
func shouldShowTabBar() -> Bool {
|
||||||
let isKeyboardActiveForWebContent =
|
let isKeyboardActive =
|
||||||
tabManager.selectedTab?.webViewProxy?.isKeyboardVisible == true
|
tabManager.selectedTab?.webViewProxy?.isKeyboardVisible == true
|
||||||
let isBraveOriginatedKeyboard = keyboardState?.isLocal == true
|
&& keyboardState?.isLocal == true
|
||||||
if isUsingBottomBar, isKeyboardActiveForWebContent, isBraveOriginatedKeyboard {
|
if isUsingBottomBar, topToolbar.inOverlayMode || isKeyboardActive {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
let tabCount = tabManager.tabsForCurrentMode.count
|
let tabCount = tabManager.tabsForCurrentMode.count
|
||||||
|
|||||||
Reference in New Issue
Block a user