Closed sergeymomot closed 3 months ago
Hello @sdaitzman Are you ok if we get rid this button or it's needed for some design purposes? Thank you
Hi @rnr, thank you for tagging me to check about this. I think it would be preferable to keep the Back to Profile button if possible.
From a design standpoint, screens that allow a destructive action should include a quick and clear default action to opt out of that destructive action. It's not a frequent situation, but e.g. if a user has entered their password but realized that they do not want to delete their account, it should be clear that the default action is to go back without deleting their account.
On this screen, I also think the Delete Account button should eventually use the red error/danger color with an outlined (secondary) button style, and the Back to Profile button should use the primary button style. This would emphasize which action is destructive. Those changes may fall under some future design enhancements within account settings/profile.
Open Profile -> Edit -> tap Delete account -> observe "Back to profile" button: button name is moved down. This issue applies to iPhone and iPad.
Need to align the button title
As a possible solution - we can simply remove this button, since at the top left there is a "Back" button that performs the same action