Remove redundant condition

This commit is contained in:
Emil Lundberg 2018-04-24 17:08:10 +02:00
parent fb5d06d513
commit 30eae108b7
No known key found for this signature in database
GPG Key ID: 1342CC2B5CF84F44

View File

@ -18,7 +18,7 @@ Label {
function getText() {
if (credentials === null) {
return qsTr("Reading credentials...")
} else if (nCredentials === 0 && credentials !== null) {
} else if (nCredentials === 0) {
return qsTr("No credentials found.")
} else {
return ""