Skip to content

Commit

Permalink
Fixes ledger address display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
comountainclimber committed Sep 13, 2021
1 parent b810cc6 commit 4573c35
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion __tests__/components/__snapshots__/Settings.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ exports[`Settings renders without crashing 1`] = `
Manage your neon wallet
</FormattedMessage>
- v
2.9.0
2.9.1
</div>
<div
className="settingsPanelHeaderItem"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class LedgerMigrationConfirm extends React.Component<Props, State> {
style={{
content: {
width,
height: '650px',
height,
},
}}
>
Expand Down
1 change: 1 addition & 0 deletions app/containers/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const shouldRenderReleaseNotes = version => {
'2.7.4',
'2.8.0',
'2.9.0',
'2.9.1',
]
if (
displayWhitelist.includes(version) &&
Expand Down
6 changes: 4 additions & 2 deletions app/containers/Send/Send.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ export default class Send extends React.Component<Props, State> {
? this.props.showModal(MODAL_TYPES.LEDGER_MIGRATION_CONFIRM, {
title: 'Confirm Migration',
shouldRenderHeader: false,
height: '524px',
height: feeIsRequired(sendEntries[0].symbol, sendEntries[0].amount)
? '650px'
: '580px',
renderBody: () => (
<div className={styles.confirmMigration}>
<h2> Confirmation </h2>
Expand All @@ -450,7 +452,7 @@ export default class Send extends React.Component<Props, State> {

<div>
To (Neo N3): <br />
<code> {TO_ACCOUNT.address}</code>
<code> {this.props.migrationAddress}</code>
</div>
<br />
{feeIsRequired(sendEntries[0].symbol, sendEntries[0].amount) && (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Neon",
"version": "2.9.0",
"version": "2.9.1",
"main": "./main.js",
"description": "Light wallet for NEO blockchain",
"homepage": "https://github.com/CityOfZion/neon-wallet",
Expand Down

0 comments on commit 4573c35

Please sign in to comment.