Remove spaces from hashtag searches

Changelog-Changed: Remove spaces from hashtag searches
Closes: #773
Fixes: #741
This commit is contained in:
gladiusKatana authored and William Casarin committed 2023-03-13 09:04:10 -06:00
1 parent 04fa4edad8
commit 8059408d5f
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ func search_changed(profiles: Profiles, _ new: String) -> Search? {
}
if new.first! == "#" {
let ht = String(new.dropFirst())
let ht = String(new.dropFirst().filter{$0 != " "})
return .hashtag(ht)
}