Make Status the first tab under More on the phone and after Lead on Mac

This commit is contained in:
Ian Gulliver
2026-10-22 07:09:31 -07:00
parent cbbfe43b94
commit 7997be6373
5 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -41,13 +41,13 @@ private func taskTab(_ store: Store) -> TaskTab {
}
private enum MoreRoute: Hashable {
case notes, workflows, status, settings
case status, notes, workflows, settings
}
private let moreTitles: [MoreRoute: String] = [
.status: "Status",
.notes: "Notes",
.workflows: "Workflows",
.status: "Status",
.settings: "Settings",
]
@@ -368,12 +368,12 @@ private func dismissKeyboard() {
}
private struct MoreScreen: View {
@ViewState private var route = MoreRoute.notes
@ViewState private var route = MoreRoute.status
var body: some View {
VStack(spacing: 0) {
HStack(spacing: 4) {
ForEach([MoreRoute.notes, .workflows, .status, .settings], id: \.self) { r in
ForEach([MoreRoute.status, .notes, .workflows, .settings], id: \.self) { r in
PaneTabButton(label: moreTitles[r]!, active: route == r) {
route = r
dismissKeyboard()