Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iap: add loading spinner to purchase actions
Apple In-app purchases do not respond immediately. This commit adds a loading spinner element, to improve the UX and avoid the appearance of a broken/unresponsive element. Testing -------- Device: iPhone 15 simulator iOS: 17.2 Damus: This commit Setup: - Using the sandbox environment - No tx to start with - IAP experimental support enabled on developer settings in Damus Steps: 1. Click "purchase" in any option on the damus purple screen 2. It should show a loading spinner while the purchase action is loading. PASS 3. On the confirmation screen, cancel the purchase. 4. Purchase buttons should show again. PASS Closes: #2020 Signed-off-by: Daniel D’Aquino <[email protected]> Link: [email protected] Signed-off-by: William Casarin <[email protected]>
- Loading branch information