mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
adding emojis to emojipacks works
proper emojipack manager view with an add button new emojipack function fixed scrolling on emojipack editor add sticker
This commit is contained in:
7 files changed
+79
-16
No files matched your search
@@ -13,3 +13,14 @@ struct EmojiPack: Identifiable, Codable {
|
||||
var description: String
|
||||
var emojiNames: [String]
|
||||
}
|
||||
|
||||
extension EmojiPack {
|
||||
static func new() -> EmojiPack {
|
||||
EmojiPack(
|
||||
id: UUID(),
|
||||
name: "New Pack",
|
||||
description: "Emoji Pack at \(Date().formatted())",
|
||||
emojiNames: []
|
||||
)
|
||||
}
|
||||
}
|
||||