mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
edit mode has red - buttons to remove it also has a plus button to add more but it currently doesnt add modified searchview to add a variant for the pack editor
26 lines
471 B
Swift
26 lines
471 B
Swift
//
|
|
// EmojiPackManager.swift
|
|
// StickerSlack
|
|
//
|
|
// Created by neon443 on 01/12/2025.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct EmojiPackManager: View {
|
|
@ObservedObject var hoarder: EmojiHoarder
|
|
|
|
var body: some View {
|
|
ForEach($hoarder.emojiPacks) { $pack in
|
|
EmojiPackDetailView(hoarder: hoarder, pack: $pack)
|
|
}
|
|
EmojiPackDetailView(hoarder: hoarder, pack: .constant(.test))
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
EmojiPackManager(
|
|
hoarder: EmojiHoarder(localOnly: true, skipIndex: true)
|
|
)
|
|
}
|