From fe30451d02b541a51f35e8ea68100c9b04f046ba Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 15 Feb 2022 21:11:03 -0600 Subject: Temporarily removed reports. --- iosApp/iosApp/Details/DetailsView.swift | 2 +- iosApp/iosApp/Devices/DeviceRow.swift | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/iosApp/iosApp/Details/DetailsView.swift b/iosApp/iosApp/Details/DetailsView.swift index 2c7418b..abbed0a 100644 --- a/iosApp/iosApp/Details/DetailsView.swift +++ b/iosApp/iosApp/Details/DetailsView.swift @@ -48,7 +48,7 @@ struct DetailsView: View { .navigationBarTitleView( Picker(selection: $action) { Text("details").tag(DeviceRow.Action.details) - Text("reports").tag(DeviceRow.Action.reports) + //Text("reports").tag(DeviceRow.Action.reports) Text("commands").tag(DeviceRow.Action.commands) } label: { EmptyView() diff --git a/iosApp/iosApp/Devices/DeviceRow.swift b/iosApp/iosApp/Devices/DeviceRow.swift index 4553a4b..2c2cf3b 100644 --- a/iosApp/iosApp/Devices/DeviceRow.swift +++ b/iosApp/iosApp/Devices/DeviceRow.swift @@ -160,9 +160,9 @@ struct DeviceRow: View { Label("details", systemImage: "info.circle") } - let reports = Button { callback(.reports) } label: { - Label("reports", systemImage: "clock") - } + //let reports = Button { callback(.reports) } label: { + // Label("reports", systemImage: "clock") + //} let commands = Button { callback(.commands) } label: { Label("commands", systemImage: "paperplane") @@ -170,12 +170,12 @@ struct DeviceRow: View { if isCell { commands - reports + // reports details } else { Group { details - reports + // reports commands } .frame(maxWidth: .infinity) -- cgit v1.2.3