build: fix a few warnings and errors

This commit is contained in:
William Casarin
2023-07-13 11:17:00 -07:00
parent 2f3737c2b5
commit 731fdb108b
2 changed files with 3 additions and 6 deletions

View File

@@ -48,9 +48,9 @@ struct SearchHeaderView: View {
var SearchText: Text {
switch described {
case .hashtag(let ht):
Text(verbatim: "#" + ht)
return Text(verbatim: "#" + ht)
case .unknown:
Text("Search")
return Text("Search")
}
}