Add a task list button to the iPhone bottom bar

This commit is contained in:
Ian Gulliver
2026-10-21 22:34:55 -07:00
parent caf0a830a9
commit 4f2c0def94
+13 -2
View File
@@ -76,6 +76,19 @@ struct PhoneView: View {
tabButton("More", .more)
Spacer(minLength: 0)
ConnectionMark()
Button {
tab = .tasks
path = []
} label: {
Image(systemName: "list.bullet")
.font(Fonts.font(17, weight: 600))
.foregroundStyle(Palette.accent)
.padding(.horizontal, 10)
.padding(.vertical, 8)
.contentShape(Rectangle())
}
.buttonStyle(.plain)
.accessibilityLabel("Task list")
}
.padding(.horizontal, 12)
.overlay(alignment: .top) {
@@ -199,8 +212,6 @@ private struct ConnectionMark: View {
Circle()
.fill(store.connected ? Palette.ok : Palette.muted)
.frame(width: 8, height: 8)
Text(store.me?.displayName ?? "")
.foregroundStyle(Palette.muted)
}
.lineLimit(1)
}