mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-12-03 14:04:48 +00:00
ui updates to emojpackdetailview
added .type to sticker to get its type added fromappname to stickertype
This commit is contained in:
8 files changed
+45
-33
No files matched your search
@@ -21,4 +21,13 @@ enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
|
||||
return "Giphy GIFs"
|
||||
}
|
||||
}
|
||||
|
||||
var fromAppName: String {
|
||||
switch self {
|
||||
case .slackEmoji:
|
||||
return "Slack"
|
||||
case .giphyGifs:
|
||||
return "Giphy"
|
||||
}
|
||||
}
|
||||
}
|
||||