Commit 6ac7ed3093
Verified · cmc
Sources/Orgstar/OrgstarApp.swift +4 · view
| @@ -469,12 +469,16 @@ struct OrgstarApp: App { | |||
| 469 | Window("Clock Report", id: "clock-report") { | 469 | Window("Clock Report", id: "clock-report") { |
| 470 | if case .success(let model) = workspace { | 470 | if case .success(let model) = workspace { |
| 471 | ClockReportView(workspace: model, session: session) | 471 | ClockReportView(workspace: model, session: session) |
| 472 | .environment(\.orgTheme, ConfigSync.shared.theme) | ||
| 473 | .tint(ConfigSync.shared.theme.color("accent")) | ||
| 472 | } | 474 | } |
| 473 | } | 475 | } |
| 474 | .defaultSize(width: 860, height: 560) | 476 | .defaultSize(width: 860, height: 560) |
| 475 | Window("Capture", id: "capture") { | 477 | Window("Capture", id: "capture") { |
| 476 | if case .success(let model) = workspace { | 478 | if case .success(let model) = workspace { |
| 477 | CaptureView(workspace: model, session: session, commands: commands, clock: clock) | 479 | CaptureView(workspace: model, session: session, commands: commands, clock: clock) |
| 480 | .environment(\.orgTheme, ConfigSync.shared.theme) | ||
| 481 | .tint(ConfigSync.shared.theme.color("accent")) | ||
| 478 | } | 482 | } |
| 479 | } | 483 | } |
| 480 | .windowResizability(.contentSize) | 484 | .windowResizability(.contentSize) |