-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Refactor FXIOS-7577 [v121] Fakespot - Replace primary button in FakespotOptInCardView to PrimaryRoundedButton #16925
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! What I think we're missing is only the following change:
We can remove the colors being set directly from that view. So removing the lines:
mainButton.setTitleColor(colors.textInverted, for: .normal)
mainButton.backgroundColor = colors.actionPrimary
and call instead mainButton.applyTheme(:)
directly under the mainButton.configure(viewModel:)
that you added. I think that should be it (you can maybe recheck all is good and dark/light mode).
Thank you 🙏
40789e4
to
8620c45
Compare
@lmarceau Thanks a lot for the review! I found there is no |
8620c45
to
f8fa055
Compare
This pull request has conflicts when rebasing. Could you fix it @mingming-ma? 🙏 |
f8fa055
to
b0bbd25
Compare
b0bbd25
to
3dd103f
Compare
Client.app: Coverage: 32.61
Generated by 🚫 Danger Swift against 3dd103f |
@Mergifyio backport release/v120 |
✅ Backports have been created
|
📜 Tickets
Jira ticket
Github issue
💡 Description
This commit is a refactor work that changes the mainButton in FakespotOptInCardView to use PrimaryRoundedButton by the requirements.
📝 Checklist
You have to check all boxes before merging