mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Fix search suggestions whitespace
This commit is contained in:
@@ -11,7 +11,7 @@ struct SearchSuggestions: View {
|
||||
} label: {
|
||||
HStack {
|
||||
Image(systemName: "magnifyingglass")
|
||||
Text(state.queryText)
|
||||
Text(state.queryText.trimmingCharacters(in: .whitespacesAndNewlines))
|
||||
.lineLimit(1)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user