-
Notifications
You must be signed in to change notification settings - Fork 14
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
MW redesign fixes #1054
MW redesign fixes #1054
Conversation
nop33
commented
Dec 16, 2024
•
edited
Loading
edited
- Fix padding in public keys screen
- Fix back button in public keys screen
- Fix save buttons in contact screen and custom network screen
- Fix top padding of custom network screen
- Fix NFT display
- Fix bg color of info toast
- Fix text color of selected word in mnemonic import
- Fix bottom padding of buttons
- Move submit buttons to bottom of screens
|
7a91200
to
e93f792
Compare
@@ -181,7 +182,7 @@ const ScrollViewContainer = styled.View` | |||
` | |||
|
|||
const BottomButtonsContainer = styled.View` | |||
margin: 0 ${DEFAULT_MARGIN}px; | |||
margin: ${Platform.OS === 'ios' ? 0 : undefined} ${DEFAULT_MARGIN}px; |
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.
On Android this is gonna be margin: undefined XXpx
. This doesn't cause any issue?
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.
it does not
headerRight: () => ( | ||
<ContinueButton title={buttonText || t('Save')} onPress={handleSubmit(onSubmit)} iconProps={undefined} /> | ||
), | ||
headerRight: () => <ContinueButton title={buttonText || t('Save')} onPress={handleSubmit(onSubmit)} />, |
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.
So as I've done it in other screens, the paradigm changed: main actions should be at the bottom of the screen, wrapped in a BottomButtons
container.
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.
ok, then there are many screens that it this needs to be applied to.
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.
Applied to following screens:
- AddressFormBaseScreen
- ContactFormBaseScreen
- CustomNetworkScreen
- DecryptScannedMnemonicScreen
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.
Tested, LGTM!
Clean up fund password code