notes get their own left tab
This commit is contained in:
@@ -136,6 +136,9 @@ private struct LeftPane: View {
|
||||
PaneTabButton(label: "Lead", active: tab == .lead) {
|
||||
overlays.leftTab = .lead
|
||||
}
|
||||
PaneTabButton(label: "Notes", active: tab == .notes) {
|
||||
overlays.leftTab = .notes
|
||||
}
|
||||
PaneTabButton(label: "Status", active: tab == .status) {
|
||||
overlays.leftTab = .status
|
||||
}
|
||||
@@ -171,7 +174,9 @@ private struct LeftPane: View {
|
||||
.opacity(tab == .lead ? 1 : 0)
|
||||
.allowsHitTesting(tab == .lead)
|
||||
.accessibilityHidden(tab != .lead)
|
||||
if tab == .status {
|
||||
if tab == .notes {
|
||||
NotesView()
|
||||
} else if tab == .status {
|
||||
StatusView()
|
||||
} else if tab == .server {
|
||||
ServerView()
|
||||
|
||||
Reference in New Issue
Block a user