major refactor, now im going to use generics and "any StickerProtocol" to have more shared logic

changed id on stickerprotocol to string cos of giphy
downloadedemojis > downloadedStickers
removed hoarder from emojipreview cos its not used
added toGif in GifObject
This commit is contained in:
Nihaal Sharma committed 2026-03-17 10:09:24 +00:00
1 parent e88ab60e2a
commit 8dd8169aae
22 files changed
+94 -53

No files matched your search

@@ -9,7 +9,7 @@ import Foundation
struct SlackResponse: Identifiable, Codable {
var type: String
var id: UUID
var id: String
var name: String
var imageUrl: String
var alias: String?
@@ -29,4 +29,8 @@ struct GifObject: Codable, Identifiable {
var title: String
var alt_text: String
var is_low_contrast: Bool
var toGif: Gif {
return Gif(name: self.title, url: URL(string: self.images.fixed_width.url)!, id: self.id)
}
}
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.