mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
updated search algorithm to use previous search result to speed up when typing things out, eg
before
"a": 47k -> 25k emojis
"ab": 47k -> ~850
after
"a": 47k -> 25k
"ab" 25k -> ~850
also sort search results
using a Task again
added a ui thingy for no downloaded emojis
This commit is contained in:
4 files changed
+31
-15
No files matched your search
@@ -62,6 +62,18 @@ struct DownloadedView: View {
|
||||
.padding(.horizontal, spacing)
|
||||
}
|
||||
}
|
||||
if emojiHoarder.downloadedStickers.isEmpty && gifHoarder.downloadedStickers.isEmpty {
|
||||
VStack(alignment: .center) {
|
||||
Image(systemName: "questionmark.app.dashed")
|
||||
.resizable().scaledToFit()
|
||||
.frame(width: 75, height: 75)
|
||||
Text("No Downloaded Stickers")
|
||||
.font(.title)
|
||||
.bold()
|
||||
Text("Download some Slack Emojis or GIFs to use in iMessage!")
|
||||
.foregroundStyle(.gray)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||