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

+7 -3
View File
@@ -12,9 +12,9 @@ extension StickerProtocol {
var localImageURLString: String {
let containerPath: String
if type(of: self) == Emoji.self {
containerPath = EmojiHoarder.container.path()
containerPath = EmojiHoarder.container.safePath
} else if type(of: self) == Gif.self {
containerPath = GifHoarder.container.path()
containerPath = GifHoarder.container.safePath
} else {
fatalError("sticker type unrecogniesd")
}
@@ -25,7 +25,11 @@ extension StickerProtocol {
}
var localImageURL: URL {
return URL(filePath: localImageURLString)
if #available(iOS 16, *) {
return URL(filePath: localImageURLString)
} else {
return URL(fileURLWithPath: localImageURLString)
}
}
var msSticker: MSSticker? {
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.