Commit 0b14b2a5 by Orkhan Alikhanov

Added detecting if TabsController is under ToolbarController

parent f47bdadf
......@@ -238,7 +238,7 @@ open class TabsController: TransitionController {
super.apply(theme: theme)
switch tabBarThemingStyle {
case .auto where parent is NavigationController && tabBarAlignment == .top:
case .auto where (parent is NavigationController || parent is ToolbarController) && tabBarAlignment == .top:
fallthrough
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