mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
added loading and error state for gifview (stickerpreview) with animations
redid stickerpreview logic cos it was messy made gifFrom throwing faster sticker.image when it doesnt exist fix swift6 warning in hoarder downloaded stickers added better padding to welcome view and disabled interactive dismiss
This commit is contained in:
6 files changed
+99
-55
No files matched your search
@@ -21,7 +21,8 @@ extension StickerProtocol {
|
||||
}
|
||||
|
||||
var image: UIImage? {
|
||||
if let data = try? Data(contentsOf: localImageURL),
|
||||
if FileManager.default.fileExists(atPath: localImageURLString),
|
||||
let data = try? Data(contentsOf: localImageURL),
|
||||
let img = UIImage(data: data) {
|
||||
return img
|
||||
} else {
|
||||
|
||||