Commit 0b14b2a5 by Orkhan Alikhanov

Added detecting if TabsController is under ToolbarController

parent f47bdadf
...@@ -238,7 +238,7 @@ open class TabsController: TransitionController { ...@@ -238,7 +238,7 @@ open class TabsController: TransitionController {
super.apply(theme: theme) super.apply(theme: theme)
switch tabBarThemingStyle { switch tabBarThemingStyle {
case .auto where parent is NavigationController && tabBarAlignment == .top: case .auto where (parent is NavigationController || parent is ToolbarController) && tabBarAlignment == .top:
fallthrough fallthrough
case .primary: case .primary:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment