fix: iOS 15 new tab bar appearance not override issue
This commit is contained in:
parent
051a8f40e3
commit
e5a3c4ae0d
|
@ -48,6 +48,11 @@ extension ThemeService {
|
|||
tabBarAppearance.backgroundColor = theme.tabBarBackgroundColor
|
||||
tabBarAppearance.selectionIndicatorTintColor = Asset.Colors.brandBlue.color
|
||||
UITabBar.appearance().standardAppearance = tabBarAppearance
|
||||
if #available(iOS 15.0, *) {
|
||||
UITabBar.appearance().scrollEdgeAppearance = tabBarAppearance
|
||||
} else {
|
||||
// Fallback on earlier versions
|
||||
}
|
||||
UITabBar.appearance().barTintColor = theme.tabBarBackgroundColor
|
||||
|
||||
// set table view cell appearance
|
||||
|
|
Loading…
Reference in New Issue