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