Same class of bug as the earlier matching-cascade fix: selectedCustomerAddress is resolved asynchronously against the address book and can lag behind or mismatch. appState.address.display is set synchronously the moment the user picks an address (AddressesView.selectAddress) — it's the authoritative live value. customerAddressName had these backwards, checking the async value first.
1907 lines
83 KiB
Swift
1907 lines
83 KiB
Swift