From 9075a023676e5d55284697628743ccc924920480 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Sun, 14 Jun 2020 16:55:05 +0200 Subject: [PATCH] - Add new version Check - Fix message in notification --- CMakeLists.txt | 2 +- .../Linphone/Notifications/NotificationNewVersionAvailable.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfbb7135c..786fc5519 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ endif() #------------------------------------------------------------------------------- option(ENABLE_APP_PACKAGING "Enable packaging" NO) -option(ENABLE_UPDATE_CHECK "Enable update check." NO) +option(ENABLE_UPDATE_CHECK "Enable update check." YES) option(ENABLE_UNIT_TESTS "Enable unit test of SDK." NO ) option(ENABLE_TESTS "Build with testing binaries of SDK" NO ) option(ENABLE_TESTS_COMPONENTS "Build libbctoolbox-tester" NO ) diff --git a/linphone-app/ui/modules/Linphone/Notifications/NotificationNewVersionAvailable.qml b/linphone-app/ui/modules/Linphone/Notifications/NotificationNewVersionAvailable.qml index 834b6e28c..61cc06aba 100644 --- a/linphone-app/ui/modules/Linphone/Notifications/NotificationNewVersionAvailable.qml +++ b/linphone-app/ui/modules/Linphone/Notifications/NotificationNewVersionAvailable.qml @@ -1,6 +1,6 @@ NotificationBasic { icon: 'update_sign' - message: notificationData.url + message: notificationData.message?notificationData.message:'' handler: (function () { Qt.openUrlExternally(notificationData.url) })