quicker opening of the imessage app, support ios 17 and below again

This commit is contained in:
neon443 committed 2025-11-10 15:14:51 +00:00
1 parent 6d4eb5da36
commit 1c4ef6896d
8 files changed
+219 -88

No files matched your search

+3 -3
View File
@@ -26,10 +26,10 @@ class EmojiHoarder: ObservableObject {
@Published var downloadedEmojis: Set<String> = []
@Published var searchTerm: String = ""
init(localOnly: Bool = false) {
init(localOnly: Bool = false, skipIndex: Bool = false) {
let localDB = loadLocalDB()
withAnimation { self.emojis = localDB }
buildTrie()
if !skipIndex { buildTrie() }
withAnimation { self.filteredEmojis = [] }
guard !localOnly else { return }
@@ -37,7 +37,7 @@ class EmojiHoarder: ObservableObject {
print("start loading remote db")
await self.loadRemoteDB()
print("end")
await self.buildTrie()
if !skipIndex { await self.buildTrie() }
}
}
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.