Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pid flow in wallet #208

Merged
merged 7 commits into from
Nov 19, 2024
Merged

feat: pid flow in wallet #208

merged 7 commits into from
Nov 19, 2024

Conversation

janrtvld
Copy link
Contributor

@janrtvld janrtvld commented Nov 12, 2024

I tried to re-use some screens but i've copied over a lot of the logic because it's hard to understand code and some things just work a bit different if you already have a wallet. So to not make the logic in the onboarding even more unreadable i just did it like this.

TODOs

  • Test on Android

@janrtvld janrtvld marked this pull request as ready for review November 13, 2024 13:03
Copy link
Member

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me this duplication doesn't make sense, and the reason being the complexity makes less sense. I think we just made it 2x as complex by dupilcating the code. Everything now needs to be changed in two places.

I think the correct way would be to create a better abstraction. So we can at least reuse the views and logic, but still have control over what is different.

At least we should have the screens as separate components

@TimoGlastra TimoGlastra merged commit 670ee81 into main Nov 19, 2024
1 check passed
@TimoGlastra TimoGlastra deleted the feat/pid-flow-in-wallet branch November 19, 2024 12:08
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