aded mneu ig

This commit is contained in:
neon443 committed 2026-07-06 20:07:37 +01:00
1 parent 68312d27ff
commit 6ef85d685f
2 files changed
+11 -5

No files matched your search

@@ -30,8 +30,8 @@ struct EmojiPackManager: View {
List(selection: $selection) { List(selection: $selection) {
ForEach($hoarder.emojiPacks, id: \.self) { $pack in ForEach($hoarder.emojiPacks, id: \.self) { $pack in
NavigationLink { NavigationLink {
// EmojiPackDetailView(hoarder: hoarder, pack: $pack, useSwiftUIGrid: useSwiftUIGrid) EmojiPackDetailView(hoarder: hoarder, pack: $pack, useSwiftUIGrid: useSwiftUIGrid)
EmojiPackDetailViewRepresentable(hoarder: hoarder, pack: pack) // EmojiPackDetailViewRepresentable(hoarder: hoarder, pack: pack)
} label: { } label: {
Text(pack.name) Text(pack.name)
} }
@@ -66,10 +66,16 @@ class EmojiPackDetailViewController: UIViewController {
} }
} }
collectionView.toolbarItems = [shareButton, downloadButton] var shareButton2 = UIAction(title: "Share...", image: UIImage(systemName: "square.and.arrow.up")) { action in
// collectionView.toolbarItems = [editButton, adderSheetButton] print()
}
var downloadButton2 = UIAction(title: "Download", image: UIImage(systemName: "square.and.arrow.up")) { action in
print()
}
downloadButton2.image = UIImage(systemName: "arrow.down")
let x = UIBarButtonItem(title: "menu", image: UIImage(systemName: "ellipsis"), primaryAction: nil, menu: UIMenu(children: [shareButton2, downloadButton2]))
collectionView.navigationItem.rightBarButtonItems = [collectionView.editButtonItem] collectionView.navigationItem.rightBarButtonItems = [collectionView.editButtonItem, x]
NotificationCenter.default.addObserver( NotificationCenter.default.addObserver(
self, self,
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.