-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix/settings design #484
Fix/settings design #484
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!
@@ -17,7 +16,7 @@ import type { Navigator } from '../../../../types/ReactNativeNavigation'; | |||
import type { Account } from '../../../../types/Account'; | |||
import i18n from '../../../../global/i18n'; | |||
import ScreenTitle from '../../../../components/common/ScreenTitle'; | |||
import Button from '../../../../components/common/Button'; | |||
// import Button from '../../../../components/common/Button'; |
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.
Please remove it or uncomment
@@ -93,13 +92,6 @@ class ProfileScreen extends NavigatorComponent<Props> { | |||
} | |||
} | |||
|
|||
sharePublicKey = () => { |
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.
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.
@seland ok, this was because, if we put the button in the child it takes a bit of padding on both sides. Putting in parent makes the button span the whole width. But you are right, I need to take care of the edit profile part too. Because both are part of the parent component.
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.
How about setting the flag editingAccount === null
for the button so that it does not render in the EditProfile page?
Fix/settings design Former-commit-id: 46ac781
Changes
• Changed button style of Settings Screen
• Changed arrow design of FlatList