Open task views in a sheet over the left pane

This commit is contained in:
Ian Gulliver
2026-10-21 17:00:07 -07:00
parent ccb08ab6ec
commit 193401021a
22 changed files with 698 additions and 546 deletions
+4 -4
View File
@@ -173,7 +173,7 @@ private struct PaneAccentKey: EnvironmentKey {
static let defaultValue = Palette.accent
}
private struct InRightPaneKey: EnvironmentKey {
private struct InTaskKey: EnvironmentKey {
static let defaultValue = false
}
@@ -187,12 +187,12 @@ extension EnvironmentValues {
}
}
var inRightPane: Bool {
var inTask: Bool {
get {
self[InRightPaneKey.self]
self[InTaskKey.self]
}
set {
self[InRightPaneKey.self] = newValue
self[InTaskKey.self] = newValue
}
}
}