added condition to check if view is available
This commit is contained in:
parent
0d6fc3d15d
commit
100ede48fa
@ -345,7 +345,10 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
|
||||
}
|
||||
|
||||
@objc public func getAccessibilityElements() -> [Any]? {
|
||||
[tabs, subNavigationController.view!]
|
||||
guard let navigationControllerView = subNavigationController.view else {
|
||||
return [tabs]
|
||||
}
|
||||
return [tabs, navigationControllerView]
|
||||
}
|
||||
|
||||
open override func observeForResponseJSONUpdates() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user