fix(dev): silence cppApp undefined warning

This commit is contained in:
Stefan Dunca 2022-03-08 17:15:50 +01:00 committed by Stefan Dunca
parent b4a1fb1a14
commit e5322276ec
1 changed files with 1 additions and 1 deletions

View File

@ -246,5 +246,5 @@ QtObject {
"connected-different-key": qsTrId("ens-username-connected-with-different-key"),
}
readonly property bool isCppApp: cppApp ? cppApp : false
readonly property bool isCppApp: typeof cppApp !== "undefined" ? cppApp : false
}