Files
StickerSlack/StickerSlack/StickerType.swift
T
neon443 cf57bccf2f ui updates to emojpackdetailview
added .type to sticker to get its type
added fromappname to stickertype
2026-04-14 21:18:58 +01:00

34 lines
517 B
Swift

//
// StickerType.swift
// StickerSlack
//
// Created by neon443 on 06/03/2026.
//
import Foundation
enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
case slackEmoji
case giphyGifs
var id: String { self.description }
var description: String {
switch self {
case .slackEmoji:
return "Slack Emoji"
case .giphyGifs:
return "Giphy GIFs"
}
}
var fromAppName: String {
switch self {
case .slackEmoji:
return "Slack"
case .giphyGifs:
return "Giphy"
}
}
}