You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: reset the quickpay daily count after a future date is corrected #2189
On the watch, QuickPaySpendStore keeps the day's QuickPay spend under the local date it was counted on. When the watch's date was once set ahead and then corrected, an earlier date never starts a new count. The count therefore stays on that future day, and QuickPay holds every payment over the limit until the date catches up.
It is conservative and matches the phone's QuickPaySpendStore.
Proposal
Start a new count when the stored date is ahead of today by more than a day, on both phone and watch, or reset it when the wall clock jumps backward.
Done when
Unit tests cover a date set ahead then corrected, on the watch (and the phone if it changes too).
Found in review round 1 of the Wear OS settings sync PR.
Activity