Skip to content

fix(#331): make the Settings button respond on Mac - #332

Merged
cassio-rossi merged 1 commit into
release/v5from
fix/mac-sidebar-settings-button
Oct 30, 2026
Merged

cassio-rossi merged 1 commit into
release/v5from
fix/mac-sidebar-settings-button

Conversation

@cassio-rossi

Copy link
Copy Markdown
Collaborator

Closes #331

Problem

On Mac ("Designed for iPad"), clicking the Settings gear in the sidebar did nothing. Other sidebar items worked. iPhone is not affected because it uses the tab bar instead of this sidebar.

Cause

The gear shared one .bottomBar ToolbarItem with the MM Live button and a Spacer, wrapped in an HStack. On Mac its action never fired, and the gear rendered centered despite the Spacer. The link to the toolbar wrapper comes from the before and after behaviour, not from tracing the framework.

Fix

Each button is now its own ToolbarItem, and a ToolbarSpacer replaces the Spacer.

Testing

  • Mac: Settings opens with accessibility and raw mouse clicks, including after switching to Reviews and back
  • iPad Pro 11-inch simulator: Settings opens and the gear's label looks right
  • Full test plan passes (iPhone 17 Pro, iOS 27.0)
  • swiftlint lint --strict passes

Not tested: clicking the MM Live button, which got the same change but did not appear during testing. No regression test was added, because this is toolbar layout in a view body.

🤖 Generated with Claude Code

On Mac "Designed for iPad", the sidebar's Settings button did nothing
when clicked. It sat with a Spacer inside an HStack in a single bottomBar
ToolbarItem, and its action never fired.

Give each button its own ToolbarItem and replace the Spacer with a
ToolbarSpacer, so they are regular toolbar items.

Co-Authored-By: Claude <noreply@anthropic.com>
@cassio-rossi
cassio-rossi merged commit 8817d99 into release/v5 Oct 30, 2026
1 check failed
@cassio-rossi
cassio-rossi deleted the fix/mac-sidebar-settings-button branch October 30, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ajustes não está abrindo no macOS

1 participant