This PR mainly fixes a bug when saving from the middle of the flow, the current screen didn't save its field correctly so I removed more logic from useCompleteProfile to work directly with the newly created store from easy-peasy since its performance is enough to have a smooth flow within the UI.
Other relevant changes:
updates the store directly when adding an avatar to the user to simulate an optimistic response in the fragments that listened to(optimisticResponse was too much since we have 3 spreads in the mutation and the return when using it requires to return all properties used by the fragments)
UI corrections, spacing, missing border
Android keyboard layout issue fixed when using autoFocus with the input
This PR relates to DIA-561
Description
This PR mainly fixes a bug when saving from the middle of the flow, the current screen didn't save its field correctly so I removed more logic from
useCompleteProfile
to work directly with the newly createdstore
fromeasy-peasy
since its performance is enough to have a smooth flow within the UI. Other relevant changes:autoFocus
with the inputAndroid
https://github.com/user-attachments/assets/16290591-caab-45e6-88ab-a45aa23d589biOS
https://github.com/user-attachments/assets/de8e20c3-3767-4e50-b59d-1547aaa3771bPR Checklist
To the reviewers π
Changelog updates
### Changelog updates #### Cross-platform user-facing changes - fix: complete my profile save during the flow and UI adjusts - araujobarret #### iOS user-facing changes - #### Android user-facing changes - #### Dev changes -Need help with something? Have a look at our docs, or get in touch with us.