-
Notifications
You must be signed in to change notification settings - Fork 12
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
GEN-2539 New design/forever feature shared #2288
Conversation
} | ||
LaunchedEffect(uiState.showEditReferralCodeBottomSheet) { | ||
if (!uiState.showEditReferralCodeBottomSheet) { | ||
delay(500) // to avoid extra animation effects on closing bottom sheet |
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.
okay, so this delay is ugly, I admit, but it's the only way that I could find to restore the unsubmitted value back on closing the BS and don't have a weird animation effect because of submit error/changed textFieldValue in the BS being restored at the same time as it is closing
…orever-feature-shared
Forever UI to new DS.
Also I didn't really like how it looked while initially loading, so I added placeholder there.
And changed the structure quite a lot, since there were many workaround old bottom sheets, I think? Let me know what you think about it.
The success snackbar wasn't showing in prod, btw, so fixed that too