mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
re-added importing packs
adder sheet in packdetailview cleanup in searchview
This commit is contained in:
5 files changed
+52
-39
No files matched your search
@@ -10,27 +10,7 @@ import UIKit
|
||||
import SwiftUI
|
||||
|
||||
final class TabbedContentView: UITabBarController {
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
// 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
|
||||
// }
|
||||
setupTabs()
|
||||
}
|
||||
|
||||
private func setupTabs() {
|
||||
let emojiHoarder = EmojiHoarder()
|
||||
let gifHoarder = GifHoarder()
|
||||
|
||||
func setupTabs(with emojiHoarder: EmojiHoarder, and gifHoarder: GifHoarder) {
|
||||
let browseView = EmojiTableView(hoarder: emojiHoarder, items: emojiHoarder.emojis.map { $0.name })
|
||||
let browse = UINavigationController(rootViewController: browseView)
|
||||
browseView.navigationItem.title = "Browse"
|
||||
|
||||