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