mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
made menu nicer
fixed stutters in sitcker picker removed the animate property in gifview added adder to emojipackdetailview remvoe pack from emojicollectionview
This commit is contained in:
11 files changed
+124
-104
No files matched your search
@@ -72,7 +72,7 @@ extension StickerProtocol {
|
||||
|
||||
var (data, _) = try await URLSession.shared.data(from: remoteImageURL)
|
||||
|
||||
let targetSize = CGSize(width: 600, height: 600)
|
||||
let targetSize = CGSize(width: 100, height: 100)
|
||||
if let uiImage = UIImage(data: data),
|
||||
await localImageURLString.suffix(4) != ".gif" {
|
||||
data = await resize(image: uiImage, to: targetSize).pngData()!
|
||||
|
||||