mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 12:18:09 +00:00
Fixed trezor one name, padding adjusted
This commit is contained in:
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…
Reference in New Issue
Block a user