updated downloadedview to use less ram!!

This commit is contained in:
neon443 committed 2025-11-15 19:14:49 +00:00
1 parent 1aac4906ed
commit 7b911d932c
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -28,8 +28,8 @@ struct DownloadedView: View {
let columns: Int = max(1, Int((UIScreen.main.bounds.width - 2*spacing) / (minColWidth + spacing)))
let layout = Array(repeating: col, count: columns)
LazyVGrid(columns: layout, spacing: spacing) {
ForEach(hoarder.emojis, id: \.self) { emoji in
if hoarder.downloadedEmojis.contains(emoji.name) {
ForEach(hoarder.downloadedEmojisArr, id: \.self) { name in
if let emoji = hoarder.trie.dict[name] {
ZStack {
Rectangle()
.foregroundStyle(isDark ? .black : .white)
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.