-
Notifications
You must be signed in to change notification settings - Fork 635
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
Rework remote promo sheet logic / designs #6085
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.
looks good! left 1 comment
also, not sure if related to your pr, but i believe the swaps promo sheet was intended to always show as "dark mode" themed. kinda irrelevant now
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.
👌
@walmat approved, but https://github.com/rainbow-me/rainbow/blob/%40matthew/improve-remote-promo-sheets/src/navigation/types.ts#L70 this line might need a types cleanup |
@@ -100,7 +110,8 @@ export function RemotePromoSheet() { | |||
); | |||
}, [goBack, navigate, data?.promoSheet]); | |||
|
|||
if (!data?.promoSheet || error) { | |||
if (!data?.promoSheet) { |
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.
we only shouldn't show if we don't have the data, regardless of error
Fixes APP-1836
What changed (plus any additional context for devs)
Addresses some oddities happening around remote promo sheets.
Screen recordings / screenshots
What to test