mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
might have fixed the hitches on downloadedview
This commit is contained in:
6 files changed
+54
-22
No files matched your search
@@ -38,6 +38,10 @@ extension StickerProtocol {
|
||||
return try? MSSticker(contentsOfFileURL: localImageURL, localizedDescription: name)
|
||||
}
|
||||
|
||||
var isLocal: Bool {
|
||||
return FileManager.default.fileExists(atPath: localImageURLString)
|
||||
}
|
||||
|
||||
var image: UIImage? {
|
||||
if FileManager.default.fileExists(atPath: localImageURLString),
|
||||
let data = try? Data(contentsOf: localImageURL),
|
||||
|
||||