diff --git a/packages/suite/src/components/suite/DeviceDisplay.tsx b/packages/suite/src/components/suite/DeviceDisplay.tsx index a9385947d00..0d197f49462 100644 --- a/packages/suite/src/components/suite/DeviceDisplay.tsx +++ b/packages/suite/src/components/suite/DeviceDisplay.tsx @@ -104,7 +104,13 @@ export const DeviceDisplay = ({ address, network, valueDataTest }: DeviceDisplay if (!selectedDeviceInternalModel) return null; - const isPaginated = MAX_CHARACTERS_ON_SCREEN[selectedDeviceInternalModel] <= address.length; + // remove bitcoincash: prefix + const processedAddress = address.startsWith('bitcoincash:') + ? address.replace('bitcoincash:', '') + : address; + + const isPaginated = + MAX_CHARACTERS_ON_SCREEN[selectedDeviceInternalModel] <= processedAddress.length; const areChunksUsed = addressDisplayType === AddressDisplayOptions.CHUNKED && !unavailableCapabilities?.chunkify && @@ -196,5 +202,9 @@ export const DeviceDisplay = ({ address, network, valueDataTest }: DeviceDisplay return {address}; }; - return {areChunksUsed ? renderChunks(address) : renderOriginal(address)}; + return ( + + {areChunksUsed ? renderChunks(processedAddress) : renderOriginal(processedAddress)} + + ); };