Skip to content

Fix iPad crash caused by vote menu from toolbar#1226

Merged
dfsm merged 1 commit intomainfrom
ipad-vote-crash-fix
Feb 1, 2026
Merged

Fix iPad crash caused by vote menu from toolbar#1226
dfsm merged 1 commit intomainfrom
ipad-vote-crash-fix

Conversation

@dfsm
Copy link
Contributor

@dfsm dfsm commented Nov 15, 2025

  • Convert actionsItem() from a method to a lazy stored property to ensure a single UIBarButtonItem instance is used. UIKit requires the popover's barButtonItem to match the exact toolbar instance on iPad.

Submitting as another PR since I don't want to touch the main branch while there are a bunch in the backlog

- Convert actionsItem() from a method to a lazy stored property to ensure a single UIBarButtonItem instance is used. UIKit requires the popover's barButtonItem to match the exact toolbar instance on iPad.
@dfsm dfsm requested a review from nolanw November 15, 2025 02:43
@dfsm dfsm merged commit f5027c7 into main Feb 1, 2026
1 check failed
@dfsm dfsm deleted the ipad-vote-crash-fix branch February 1, 2026 07:51
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.

1 participant