mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
fix animating removing items from sitckerpack
This commit is contained in:
4 files changed
+32
-22
No files matched your search
@@ -11,7 +11,12 @@ struct EmojiPack: Identifiable, Codable {
|
||||
var id: UUID
|
||||
var name: String
|
||||
var description: String
|
||||
var emojiNames: [String]
|
||||
var items: [EmojiPack.Item]
|
||||
|
||||
struct Item: Identifiable, Codable, Equatable {
|
||||
var id: UUID
|
||||
var name: String
|
||||
}
|
||||
}
|
||||
|
||||
extension EmojiPack {
|
||||
@@ -20,7 +25,7 @@ extension EmojiPack {
|
||||
id: UUID(),
|
||||
name: "New Pack",
|
||||
description: "Created on \(Date().formatted())",
|
||||
emojiNames: []
|
||||
items: []
|
||||
)
|
||||
}
|
||||
}
|
||||