review button highlight

This commit is contained in:
Ian Gulliver
2026-10-18 10:45:13 -07:00
parent e2ef592dfd
commit bc3fc7ffaf
3 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -1185,7 +1185,6 @@ private struct SnapshotRow: View {
let taskId: String?
@Environment(Store.self) private var store
@Environment(Overlays.self) private var overlays
@Environment(\.paneAccent) private var accent
@ViewState private var forking = false
var body: some View {
@@ -1261,7 +1260,7 @@ private struct SnapshotRow: View {
}
}
}
.buttonStyle(SmallLinkButtonStyle(color: n > 0 ? Palette.warn : Palette.accent, border: review?.state == .running ? accent : Palette.border))
.buttonStyle(SmallLinkButtonStyle(color: n > 0 ? Palette.warn : Palette.accent, fill: review?.state == .running ? Palette.accentTint : .clear))
.help(review?.state == .running ? "Review in progress; show snapshot \(snap.n)'s review in the Reviews tab" : "Show the review of snapshot \(snap.n) in the Reviews tab")
}
}