1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 20:28:09 +00:00

Fixed trezor one name, padding adjusted

This commit is contained in:
Vladimir Volek 2019-02-20 12:04:21 +01:00
parent 7c8564d69c
commit e9d3f3ff92
2 changed files with 4 additions and 2 deletions

View File

@ -52,9 +52,11 @@ const getExceptionPage = (state: State, selectedAccount: SelectedAccountState):
}; };
} }
if (discovery.fwNotSupported) { if (discovery.fwNotSupported) {
const trezorModel = device.features.model;
const trezorName = trezorModel.toString() === '1' ? 'One' : trezorModel;
return { return {
type: 'fwNotSupported', type: 'fwNotSupported',
title: `${network.name} is not supported with Trezor ${device.features.model}`, title: `${network.name} is not supported with Trezor ${trezorName}`,
message: 'Find more information on Trezor Wiki.', message: 'Find more information on Trezor Wiki.',
shortcut: network.shortcut, shortcut: network.shortcut,
}; };

View File

@ -32,7 +32,7 @@ const Wrapper = styled.div`
`; `;
const CoinLogoWrapper = styled.div` const CoinLogoWrapper = styled.div`
margin: 10px 0; margin: 10px 0 20px 0;
`; `;
const StyledCoinLogo = styled(CoinLogo)` const StyledCoinLogo = styled(CoinLogo)`