Merge pull request #351 from dengelt/no-results-found
Display no-results message instead of empty-folder when there are no search results
This commit is contained in:
commit
92a14fb080
4 changed files with 5 additions and 1 deletions
|
|
@ -2294,6 +2294,8 @@ impl Tab {
|
|||
.into(),
|
||||
widget::text(if has_hidden {
|
||||
fl!("empty-folder-hidden")
|
||||
} else if matches!(self.location, Location::Search(_, _)) {
|
||||
fl!("no-results")
|
||||
} else {
|
||||
fl!("empty-folder")
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue