Skip to content

Update device info on currency change - #863

Merged
DRadmir merged 1 commit into
mainfrom
wt3/currency-device-sync
Aug 11, 2026
Merged

Update device info on currency change#863
DRadmir merged 1 commit into
mainfrom
wt3/currency-device-sync

Conversation

@DRadmir

@DRadmir DRadmir commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Changing the fiat currency did not update the device info on the server: iOS never sent an update at all, and Android could lose the change when a sync was already in flight.

Now iOS triggers a device update right after the currency changes, and Android queues sync requests so each one runs against the latest state. Verified live on both platforms.

@DRadmir DRadmir self-assigned this Aug 10, 2026
@DRadmir
DRadmir requested a review from gemcoder21 August 10, 2026 09:36
iOS never triggered a device update when the currency changed, and Android could lose the change by joining an in-flight sync built from stale state. Trigger the update from the currency scene on iOS and queue sync requests on Android so each runs against fresh state.
@DRadmir
DRadmir force-pushed the wt3/currency-device-sync branch from a5bd958 to 0edbf5e Compare August 11, 2026 04:28
@DRadmir
DRadmir merged commit 74e8723 into main Aug 11, 2026
3 checks passed
@DRadmir
DRadmir deleted the wt3/currency-device-sync branch August 11, 2026 05:05
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.

2 participants