consolidated emptycollectionview

updated emptycollectionview
added a no results view and a hint to start searching
downloadedview doesnt work atm
emojicollectionview representable and the bare uikit
reorging searchview
some stuff in emojicollectionview i forgor
This commit is contained in:
Nihaal Sharma committed 2026-06-30 15:02:43 +01:00
1 parent d17bbd2e91
commit b9a2bfc13e
15 files changed
+376 -340

No files matched your search

+13 -2
View File
@@ -40,10 +40,21 @@ final class TabbedContentView: UITabBarController {
let packs = UIHostingController(rootView: packsView)
packs.tabBarItem = UITabBarItem(title: "Packs", image: UIImage(systemName: "square.stack.3d.up.fill"), tag: 1)
let downloadedView = DownloadedView(emojiHoarder: emojiHoarder, gifHoarder: gifHoarder)
let downloaded = UIHostingController(rootView: downloadedView)
let downloadedView = EmojiCollectionView(
hoarder: emojiHoarder,
items: emojiHoarder.downloadedStickersArr,
width: 75,
style: .plainWithMenu
)
let downloaded = UINavigationController(rootViewController: downloadedView)
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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.