diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-02-15 21:11:03 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-02-15 21:11:03 -0600 |
commit | fe30451d02b541a51f35e8ea68100c9b04f046ba (patch) | |
tree | 4abcfa7c8ca636b42c76d31554b7c902da2c52c8 | |
parent | 894b276f0b4e8ea840586727b1708ca0d8ebdc05 (diff) | |
download | etbsa-trackermap-mobile-fe30451d02b541a51f35e8ea68100c9b04f046ba.tar.gz etbsa-trackermap-mobile-fe30451d02b541a51f35e8ea68100c9b04f046ba.tar.bz2 etbsa-trackermap-mobile-fe30451d02b541a51f35e8ea68100c9b04f046ba.zip |
Temporarily removed reports.
-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) |