updating sharelinks

This commit is contained in:
Nihaal Sharma committed 2026-04-15 17:45:39 +01:00
1 parent 0b50400598
commit 6671756e62
4 files changed
+63 -21

No files matched your search

+3 -1
View File
@@ -283,7 +283,9 @@ class EmojiHoarder: BaseHoarder {
func loadEmojiPacks() {
guard let data = try? Data(contentsOf: Self.packStore),
let decoded = try? decoder.decode([URL].self, from: data) else { return }
self.emojiPacks = decoded.map { EmojiPack(fromShareLink: $0) }
self.emojiPacks = decoded.map {
EmojiPack(fromShareLink: $0) ?? .new()
}
}
func saveEmojiPacks() {
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.