[PR #6488] fix(mobile): fix stale amounts in cover overspending modal #6558

Closed
opened 2026-02-28 21:30:00 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6488

State: closed
Merged: Yes


Summary

The cover overspending modal was showing old amounts when selecting categories.

The callback was capturing amountsByCategory when the modal opened, so it stayed stale after covering a category. Fixed by using a ref to always get the current value.

Fixes #6487

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6488 **State:** closed **Merged:** Yes --- ## Summary The cover overspending modal was showing old amounts when selecting categories. The callback was capturing `amountsByCategory` when the modal opened, so it stayed stale after covering a category. Fixed by using a ref to always get the current value. Fixes #6487
GiteaMirror added the pull-request label 2026-02-28 21:30:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6558