Files
actual/upcoming-release-notes/mobile-reconciled-toggle.md
youngcwandClaude Opus 5 167bae44f5 [AI] Make the mobile Reconciled toggle work and match the Cleared toggle (#9064)
* [AI] Make the mobile Reconciled toggle work and match the Cleared toggle

The Reconciled toggle in the mobile transaction edit form was rendered as a
disabled `Toggle` with no handler, so a reconciled transaction could not be
unlocked from there. It now opens the existing `unlockReconciled`
confirmation and clears `reconciled` on confirm, matching the desktop table
and the mobile transaction list.

It also used the raw `Toggle` rather than `ToggleField`, which made it
visibly smaller than the Cleared toggle next to it.

Fixes #8453

Co-Authored-By: Claude Opus 5 <[email protected]>

* [AI] Guard the optional onCancel in the reconciled-transaction confirm modal

`onCancel` is optional in the modal's options type, but the Cancel button
called it unconditionally, so cancelling threw a TypeError at the 9 call
sites that omit it — including the new unlock path and the pre-existing
desktop one. The file is `// @ts-strict-ignore`, so the compiler did not
catch it.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
2026-10-02 20:16:31 +00:00

202 B

category, authors
category authors
Bugfix
youngcw

Make the Reconciled toggle work when editing a transaction on mobile, so a reconciled transaction can be unlocked, and match its size to the Cleared toggle.