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