parent
263210ac3c
commit
522e7830e5
|
@ -184,10 +184,8 @@ extension BaseMainTabBarViewController: BackgroundableViewController {
|
|||
|
||||
extension BaseMainTabBarViewController: StatusBarTappableViewController {
|
||||
func handleStatusBarTapped(xPosition: CGFloat) -> StatusBarTapActionResult {
|
||||
guard presentedViewController == nil else {
|
||||
return .stop
|
||||
}
|
||||
guard let vc = selectedViewController as? StatusBarTappableViewController else {
|
||||
guard presentedViewController == nil,
|
||||
let vc = selectedViewController as? StatusBarTappableViewController else {
|
||||
return .continue
|
||||
}
|
||||
return vc.handleStatusBarTapped(xPosition: xPosition)
|
||||
|
|
Loading…
Reference in New Issue