Skip to content
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

Merged
merged 13 commits into from
Dec 19, 2024
Merged

MW redesign fixes #1054

merged 13 commits into from
Dec 19, 2024

Conversation

nop33
Copy link
Member

@nop33 nop33 commented Dec 16, 2024

  1. Fix padding in public keys screen
  2. Fix back button in public keys screen
  3. Fix save buttons in contact screen and custom network screen
  4. Fix top padding of custom network screen
  5. Fix NFT display
  6. Fix bg color of info toast
  7. Fix text color of selected word in mnemonic import
  8. Fix bottom padding of buttons
  9. Move submit buttons to bottom of screens

@nop33 nop33 requested a review from mvaivre December 16, 2024 14:43
Copy link

changeset-bot bot commented Dec 16, 2024

⚠️ No Changeset found

Latest commit: ad18911

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@nop33 nop33 changed the title Mw redesign ilias MW redesign fixes Dec 16, 2024
@nop33 nop33 force-pushed the mw-redesign-ilias branch from 7a91200 to e93f792 Compare December 16, 2024 16:22
@@ -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;
Copy link
Member

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?

Copy link
Member Author

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)} />,
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member Author

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

@nop33 nop33 requested a review from mvaivre December 16, 2024 16:46
@nop33 nop33 added the 📱 MW Mobile wallet label Dec 18, 2024
Copy link
Member

@mvaivre mvaivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, LGTM!

@nop33 nop33 merged commit 8156fc4 into fix-wallet-import Dec 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📱 MW Mobile wallet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants