redid how downloaded emojis are made, abolished isLocal cos its too slow lmao

adding name to each filename so its easier to make a list of downloaded thingeis
fix using absolutestring instead of path
ts lowk fried im optimising th out of ts
This commit is contained in:
neon443 committed 2026-04-03 21:36:04 +01:00
1 parent 208f97b102
commit 91edcb6441
7 files changed
+22 -24

No files matched your search

@@ -14,7 +14,8 @@ class StickerBrowserDataSource: NSObject, MSStickerBrowserViewDataSource {
var emojis: [MSSticker] = []
func numberOfStickers(in stickerBrowserView: MSStickerBrowserView) -> Int {
guard emojis.isEmpty else { return emojis.count }
// hoarder.buildTrie()
// guard hoarder.downloadedStickers else { return 0 }
for emoji in hoarder.emojis {
guard let sticker = emoji.msSticker else { continue }
emojis.append(sticker)
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.