@@ -32,7 +32,7 @@ import { CurrentFiatValue } from './CurrentFiatValue'
3232import { AddressSwitch , AddressSwitchOption } from '../../components/AddressSwitch'
3333import InfoIcon from '@mui/icons-material/Info'
3434import Tooltip from '@mui/material/Tooltip'
35- import { TransactionEncrypted } from '../../components/TransactionEncryptionStatus'
35+ import { TransactionEncrypted , TransactionNotEncrypted } from '../../components/TransactionEncryptionStatus'
3636import Typography from '@mui/material/Typography'
3737import { LongDataDisplay } from '../../components/LongDataDisplay'
3838import { getPreciseNumberFormat } from '../../../locales/getPreciseNumberFormat'
@@ -245,6 +245,19 @@ export const TransactionDetailView: FC<{
245245 < RuntimeTransactionLabel method = { transaction . method } />
246246 </ dd >
247247
248+ < dt > { t ( 'transactions.encryption.format' ) } </ dt >
249+ < dd >
250+ { transaction . encryption_envelope ? (
251+ < >
252+ { transaction . encryption_envelope . format } < TransactionEncrypted />
253+ </ >
254+ ) : (
255+ < >
256+ { t ( 'transactions.encryption.plain' ) } < TransactionNotEncrypted />
257+ </ >
258+ ) }
259+ </ dd >
260+
248261 < dt > { t ( 'common.timestamp' ) } </ dt >
249262 < dd > { formattedTimestamp } </ dd >
250263
@@ -347,11 +360,6 @@ export const TransactionDetailView: FC<{
347360
348361 { transaction . encryption_envelope && (
349362 < >
350- < dt > { t ( 'transactions.encryption.format' ) } </ dt >
351- < dd >
352- { transaction . encryption_envelope . format } < TransactionEncrypted />
353- </ dd >
354-
355363 { transaction . encryption_envelope . public_key !== undefined && (
356364 < >
357365 < dt > { t ( 'transactions.encryption.publicKey' ) } </ dt >
0 commit comments