Fixed trezor one name, padding adjusted

pull/380/head
Vladimir Volek 5 years ago
parent 7c8564d69c
commit e9d3f3ff92

@ -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,
}; };

@ -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)`

Loading…
Cancel
Save