ios 15 support

gotta fix how swiftui is displayed inside my tableviewcells
This commit is contained in:
neon443 committed 2026-04-10 23:36:21 +01:00
1 parent 08cb845139
commit 39c8457c3e
19 files changed
+219 -43

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ class EmojiHoarder: BaseHoarder {
super.init()
self.showWelcome = !UserDefaults.standard.bool(forKey: "showWelcome")
if !FileManager.default.fileExists(atPath: EmojiHoarder.container.path()) {
if !FileManager.default.fileExists(atPath: EmojiHoarder.container.safePath) {
try! FileManager.default.createDirectory(at: EmojiHoarder.container, withIntermediateDirectories: true)
}
@@ -131,7 +131,7 @@ class EmojiHoarder: BaseHoarder {
}
private func loadTrie() {
guard FileManager.default.fileExists(atPath: EmojiHoarder.localTrieDict.path()) else { return }
guard FileManager.default.fileExists(atPath: EmojiHoarder.localTrieDict.safePath) else { return }
guard let dataDict = try? Data(contentsOf: EmojiHoarder.localTrieDict) else { return }
guard let decodedDict = try? decoder.decode([String:Emoji].self, from: dataDict) else {
fatalError("failed to decode dict")
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.