|
@@ -138,6 +138,17 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ let tabBarAppearance: UITabBarAppearance = UITabBarAppearance()
|
|
|
+ tabBarAppearance.configureWithDefaultBackground()
|
|
|
+ if Bundle.main.displayName == "DigiNetS" {
|
|
|
+ tabBarAppearance.backgroundColor = .darkGray
|
|
|
+ }
|
|
|
+ if #available(iOS 13.0, *) {
|
|
|
+ UITabBar.appearance().standardAppearance = tabBarAppearance
|
|
|
+ }
|
|
|
+ if #available(iOS 15.0, *) {
|
|
|
+ UITabBar.appearance().scrollEdgeAppearance = tabBarAppearance
|
|
|
+ }
|
|
|
return true
|
|
|
}
|
|
|
|