Avoid showing "No matches" when query is empty if there are no matches
This commit is contained in:
parent
aec8aec800
commit
08b84416d2
5 changed files with 93 additions and 59 deletions
|
@ -170,8 +170,8 @@ impl View for GoToLine {
|
|||
.boxed(),
|
||||
)
|
||||
.with_child(
|
||||
Container::new(Label::new(label, theme.empty.label.clone()).boxed())
|
||||
.with_style(theme.empty.container)
|
||||
Container::new(Label::new(label, theme.no_matches.label.clone()).boxed())
|
||||
.with_style(theme.no_matches.container)
|
||||
.boxed(),
|
||||
)
|
||||
.boxed(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue