improve message when search yields no results (#507)
Co-authored-by: nephros <nemo@pgxperiiia10>
This commit is contained in:
parent
a9b6bf5817
commit
b469135877
1 changed files with 3 additions and 1 deletions
|
@ -139,7 +139,9 @@ Page {
|
|||
ViewPlaceholder {
|
||||
y: Theme.paddingLarge
|
||||
enabled: contactsListView.count === 0
|
||||
text: qsTr("You don't have any contacts.")
|
||||
text: (contactsSearchField.text.length > 0)
|
||||
? qsTr("No contacts found.")
|
||||
: qsTr("You don't have any contacts.")
|
||||
}
|
||||
|
||||
delegate: Item {
|
||||
|
|
Loading…
Reference in a new issue