iOS: fix two main-red compile errors from #10662

Closed
AZ
3mo ago
+4-2

https://github.com/manaflow-ai/cmux/pull/10662 broke the iOS app compile in two places (hit by any tagged iOS archive from current main; no CI lane compiles the iOS app on PRs to catch it):

  1. MobileWorkspaceAggregation.swift:285: assigns the namespaced group id (MobileWorkspaceGroupPreview.ID) directly to anchorWorkspaceID (MobileWorkspacePreview.ID). Fixed by converting through rawValue, the same idiom MobileWorkspaceGroupPreview.init already uses for its empty-group anchor fallback.
  2. WorkspaceListTableCoordinator.swift:914: groupActionCapabilities(for:) is fileprivate but called from WorkspaceListTableCoordinator+Actions.swift. Widened to internal.

Found while building https://github.com/manaflow-ai/cmux/pull/10802; that branch carries the same patches until this merges.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Fixed empty group headers in multi-Mac workspace views so they remain correctly anchored and displayed.