style: improve comparisons and formatting

completionMenu.completionType === "username"

completionMenu.completionType === "username"

completionMenu.completionType === "username"

completionMenu.completionType === "emoji"

style:
This commit is contained in:
Srevin Saju
2021-05-05 15:19:16 +00:00
parent 6c47594bc3
commit 929e21fc59
3 changed files with 5 additions and 5 deletions

View File

@@ -50,11 +50,11 @@ Popup {
id: completionListView
implicitWidth: contentWidth
delegate: {
if (completionType == "emoji") {
if (completionType === "emoji") {
emojiDelegate
} else if (completionType == "command") {
} else if (completionType === "command") {
commandDelegate
} else if (completionType == "username") {
} else if (completionType === "username") {
usernameDelegate
}
}