implemented buildDownloadedStickers into basehoarder

and download/delete stickers
This commit is contained in:
neon443 committed 2026-04-06 13:22:26 +01:00
1 parent 1575eae8ce
commit 18ee2267c9
6 files changed
+108 -67

No files matched your search

@@ -13,6 +13,7 @@ struct DownloadedView: View {
@Environment(\.colorScheme) var colorScheme
var isDark: Bool { colorScheme == .dark }
@State var browseWhat: StickerType = .slackEmoji
var minColWidth: CGFloat { 75 }
var spacing: CGFloat { 5 }
@@ -25,6 +26,13 @@ struct DownloadedView: View {
}
var body: some View {
Picker("", selection: $browseWhat) {
ForEach(StickerType.allCases) { type in
Text(type.description)
.tag(type)
}
}
.pickerStyle(.segmented)
if emojiHoarder.downloadedStickers.isEmpty && gifHoarder.downloadedStickers.isEmpty {
NoStickersView()
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.