new macOS version
This commit is contained in:
@@ -83,7 +83,7 @@ struct FocusSessionView: View {
|
||||
}
|
||||
|
||||
// Latest nudge
|
||||
if let nudge = session.lastNudge {
|
||||
if let nudge = session.nudgeMessage {
|
||||
NudgeCard(message: nudge)
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ private struct ProactiveCardView: View {
|
||||
return description ?? "I noticed something that might be slowing you down."
|
||||
case .appSwitchLoop(let apps, let count):
|
||||
return "You've switched between \(apps.joined(separator: " ↔ ")) \(count)× in a row — are you stuck?"
|
||||
case .sessionAction(_, _, let checkpoint, let reason, _):
|
||||
case .sessionAction(_, _, let checkpoint, let reason, _, _):
|
||||
return checkpoint.isEmpty ? reason : "Left off: \(checkpoint)"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user