Fix explicit-self capture in the sidebar tint closure
Closed
EJ
4mo ago+1+1+0123456789-1-1-0123456789
main does not compile on Xcode 26.2 toolchains since #8270: the NSImage drawing handler in SidebarWorkspaceRowSlotViews references the view's color property without self, which strict capture-semantics checking rejects as an error (SidebarWorkspaceRowSlotViews.swift:101). One token: self.color.set().
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.
Summary by cubic
Fix build on Xcode 26.2 by making the tinting closure explicitly capture self in the sidebar PR icon view. Replaces color.set() with self.color.set() in the NSImage drawing handler in SidebarWorkspaceRowSlotViews.swift.
Summary by CodeRabbit
- Bug Fixes
- Fixed the tint color applied to pull request icons when displayed in their closed state.