From 4573c354bedf9c607a41e482cded9e053c2f34e3 Mon Sep 17 00:00:00 2001 From: Maxwell Lasky Date: Mon, 13 Sep 2021 14:41:15 -0600 Subject: [PATCH] Fixes ledger address display bug --- __tests__/components/__snapshots__/Settings.test.js.snap | 2 +- .../LedgerMigrationConfirm/LedgerMigrationConfirm.jsx | 2 +- app/containers/Home/Home.jsx | 1 + app/containers/Send/Send.jsx | 6 ++++-- package.json | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/__tests__/components/__snapshots__/Settings.test.js.snap b/__tests__/components/__snapshots__/Settings.test.js.snap index 401fe65b0..8d25b6107 100644 --- a/__tests__/components/__snapshots__/Settings.test.js.snap +++ b/__tests__/components/__snapshots__/Settings.test.js.snap @@ -920,7 +920,7 @@ exports[`Settings renders without crashing 1`] = ` Manage your neon wallet - v - 2.9.0 + 2.9.1
{ style={{ content: { width, - height: '650px', + height, }, }} > diff --git a/app/containers/Home/Home.jsx b/app/containers/Home/Home.jsx index 2dfc99168..e8e887624 100644 --- a/app/containers/Home/Home.jsx +++ b/app/containers/Home/Home.jsx @@ -71,6 +71,7 @@ const shouldRenderReleaseNotes = version => { '2.7.4', '2.8.0', '2.9.0', + '2.9.1', ] if ( displayWhitelist.includes(version) && diff --git a/app/containers/Send/Send.jsx b/app/containers/Send/Send.jsx index 3f572eae8..2dab3f21b 100644 --- a/app/containers/Send/Send.jsx +++ b/app/containers/Send/Send.jsx @@ -433,7 +433,9 @@ export default class Send extends React.Component { ? 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: () => (

Confirmation

@@ -450,7 +452,7 @@ export default class Send extends React.Component {
To (Neo N3):
- {TO_ACCOUNT.address} + {this.props.migrationAddress}

{feeIsRequired(sendEntries[0].symbol, sendEntries[0].amount) && ( diff --git a/package.json b/package.json index 3e2792dd2..80249d93d 100644 --- a/package.json +++ b/package.json @@ -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",