From 28ab96812ef848677445116f2ec2cebf924f2bdf Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Fri, 8 Jan 2021 20:52:43 +0100 Subject: [PATCH] Fixes for new push notifications --- nymea-app/pushnotifications.cpp | 4 ++-- nymea-app/ui/devicepages/NotificationsDevicePage.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nymea-app/pushnotifications.cpp b/nymea-app/pushnotifications.cpp index 1fb71631..77b9b2d6 100644 --- a/nymea-app/pushnotifications.cpp +++ b/nymea-app/pushnotifications.cpp @@ -98,9 +98,9 @@ QString PushNotifications::service() const #elif defined Q_OS_IOS return "FB-APNs"; #elif defined UBPORTS - return "ubports"; + return "UBPorts"; #endif - return QString(); + return "None"; } QString PushNotifications::clientId() const diff --git a/nymea-app/ui/devicepages/NotificationsDevicePage.qml b/nymea-app/ui/devicepages/NotificationsDevicePage.qml index 3d3e797e..9a6566a5 100644 --- a/nymea-app/ui/devicepages/NotificationsDevicePage.qml +++ b/nymea-app/ui/devicepages/NotificationsDevicePage.qml @@ -136,12 +136,12 @@ DevicePageBase { } - GenericTypeLogView { + ListView { id: logView Layout.fillHeight: true Layout.fillWidth: true - logsModel: LogsModel { + model: LogsModel { id: logsModel thingId: root.device.id engine: _engine