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