diff options
-rw-r--r-- | iosApp/iosApp/Details/DetailsView.swift | 2 | ||||
-rw-r--r-- | 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) |