From 0ab6615db233d1d82b6fd434f47c847d15aa0bc4 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 6 Jun 2023 21:11:08 +0200 Subject: [PATCH] Remove old logs view from the thing context menu --- nymea-app/ui/components/ThingContextMenu.qml | 4 ---- nymea-app/ui/devicepages/ThingPageBase.qml | 2 -- 2 files changed, 6 deletions(-) diff --git a/nymea-app/ui/components/ThingContextMenu.qml b/nymea-app/ui/components/ThingContextMenu.qml index f15375cf..7bf9ca75 100644 --- a/nymea-app/ui/components/ThingContextMenu.qml +++ b/nymea-app/ui/components/ThingContextMenu.qml @@ -9,7 +9,6 @@ AutoSizeMenu { property Thing thing: null property bool showDetails: true - property bool showLogs: true Component.onCompleted: { if (Configuration.magicEnabled) { @@ -20,9 +19,6 @@ AutoSizeMenu { root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Details"), iconSource: "../images/info.svg", functionName: "openGenericThingPage"})) } // root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Settings"), iconSource: "../images/configure.svg", functionName: "openThingSettingsPage"})) - if (root.showLogs) { - root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Logs"), iconSource: "../images/logs.svg", functionName: "openThingLogPage"})) - } root.addItem(menuEntryComponent.createObject(root, { diff --git a/nymea-app/ui/devicepages/ThingPageBase.qml b/nymea-app/ui/devicepages/ThingPageBase.qml index 6f57f555..09d0d2c2 100644 --- a/nymea-app/ui/devicepages/ThingPageBase.qml +++ b/nymea-app/ui/devicepages/ThingPageBase.qml @@ -38,7 +38,6 @@ Page { id: root property Thing thing: null - property bool showLogsButton: false property bool showDetailsButton: true property bool showBrowserButton: true property bool popStackOnBackButton: true @@ -75,7 +74,6 @@ Page { x: parent.width - width thing: root.thing showDetails: root.showDetailsButton - showLogs: root.showLogsButton } Connections {