diff --git a/ui/imports/utils/Constants.qml b/ui/imports/utils/Constants.qml index 22e95f4c1e..0c7f2828c9 100644 --- a/ui/imports/utils/Constants.qml +++ b/ui/imports/utils/Constants.qml @@ -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 }