mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
fix search not working after backspacing it all
put downloaded glyph below sticker type icon
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -30,7 +30,6 @@ struct StickerRow<T: Hoarder>: View {
|
||||
.foregroundColor(isDownloaded ? .green : .primary)
|
||||
.lineLimit(nil)
|
||||
.multilineTextAlignment(.leading)
|
||||
HStack(spacing: 5) {
|
||||
Button {
|
||||
showTooltip.toggle()
|
||||
} label: {
|
||||
@@ -52,7 +51,6 @@ struct StickerRow<T: Hoarder>: View {
|
||||
.transition(.scale)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(5)
|
||||
.background(
|
||||
RoundedRectangle(cornerRadius: 15)
|
||||
|
||||
@@ -47,7 +47,7 @@ struct SearchView: View {
|
||||
guard !searchTerm.isEmpty else {
|
||||
currentSearch?.cancel()
|
||||
searchResult = []
|
||||
previousSearches.append(searchTerm)
|
||||
previousSearches = []
|
||||
return
|
||||
}
|
||||
currentSearch = Task.detached {
|
||||
|
||||