mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
jfal;sd
This commit is contained in:
3 files changed
+19
-62
No files matched your search
@@ -13,17 +13,17 @@ final class TabbedContentView: UITabBarController {
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
self.edgesForExtendedLayout = .bottom
|
||||
self.extendedLayoutIncludesOpaqueBars = false
|
||||
// self.edgesForExtendedLayout = .bottom
|
||||
// self.extendedLayoutIncludesOpaqueBars = false
|
||||
|
||||
if #available(iOS 26, *) {
|
||||
let appearance = UITabBarAppearance()
|
||||
appearance.configureWithDefaultBackground()
|
||||
tabBar.standardAppearance = appearance
|
||||
tabBar.scrollEdgeAppearance = appearance
|
||||
} else {
|
||||
self.tabBarController?.tabBar.isTranslucent = false
|
||||
}
|
||||
// if #available(iOS 26, *) {
|
||||
// let appearance = UITabBarAppearance()
|
||||
// appearance.configureWithDefaultBackground()
|
||||
// tabBar.standardAppearance = appearance
|
||||
// tabBar.scrollEdgeAppearance = appearance
|
||||
// } else {
|
||||
// self.tabBarController?.tabBar.isTranslucent = false
|
||||
// }
|
||||
setupTabs()
|
||||
}
|
||||
|
||||
@@ -51,10 +51,6 @@ final class TabbedContentView: UITabBarController {
|
||||
downloadedView.navigationItem.title = "Downloaded"
|
||||
downloaded.tabBarItem = UITabBarItem(title: "Downloaded", image: UIImage(systemName: "arrow.down.circle.fill"), tag: 2)
|
||||
|
||||
// let downloadedView = DownloadedView(emojiHoarder: emojiHoarder, gifHoarder: gifHoarder)
|
||||
// let downloaded = UIHostingController(rootView: downloadedView)
|
||||
// downloaded.tabBarItem = UITabBarItem(title: "Downloaded", image: UIImage(systemName: "arrow.down.circle.fill"), tag: 2)
|
||||
|
||||
let settingsView = SettingsView(hoarder: emojiHoarder)
|
||||
let settings = UIHostingController(rootView: settingsView)
|
||||
settings.tabBarItem = UITabBarItem(title: "Settings", image: UIImage(systemName: "gear"), tag: 3)
|
||||
|
||||