diff --git a/components/VC/Views/VCDetailView.tsx b/components/VC/Views/VCDetailView.tsx index 3ac12b67..38d02523 100644 --- a/components/VC/Views/VCDetailView.tsx +++ b/components/VC/Views/VCDetailView.tsx @@ -17,12 +17,10 @@ import { BOTTOM_SECTION_FIELDS_WITH_DETAILED_ADDRESS_FIELDS, DETAIL_VIEW_BOTTOM_SECTION_FIELDS, Display, - KEY_TYPE_FIELD, fieldItemIterator, } from '../common/VCUtils'; import {ProfileIcon} from '../../ProfileIcon'; import {VCFormat} from '../../../shared/VCFormat'; -import {VCItemField} from '../common/VCItemField'; const getProfileImage = (face: any) => { if (face) { @@ -147,12 +145,6 @@ export const VCDetailView: React.FC = props => { wellknownDisplayProperty, props, )} - @@ -254,5 +246,4 @@ export interface VCItemDetailsProps { onBinding?: () => void; activeTab?: Number; vcHasImage: boolean; - keyType: string; } diff --git a/components/VC/common/VCUtils.tsx b/components/VC/common/VCUtils.tsx index 7992455a..70b00732 100644 --- a/components/VC/common/VCUtils.tsx +++ b/components/VC/common/VCUtils.tsx @@ -45,7 +45,6 @@ export const DETAIL_VIEW_BOTTOM_SECTION_FIELDS = [ 'credentialRegistry', ]; -export const KEY_TYPE_FIELD = 'keytype'; export const BOTTOM_SECTION_FIELDS_WITH_DETAILED_ADDRESS_FIELDS = [ ...getAddressFields(), 'email', diff --git a/screens/Home/ViewVcModal.tsx b/screens/Home/ViewVcModal.tsx index b8f3daba..d2a3dc12 100644 --- a/screens/Home/ViewVcModal.tsx +++ b/screens/Home/ViewVcModal.tsx @@ -173,9 +173,6 @@ export const ViewVcModal: React.FC = props => { walletBindingResponse={controller.walletBindingResponse} activeTab={props.activeTab} vcHasImage={profileImage !== undefined} - keyType={ - controller.verifiableCredentialData.vcMetadata.downloadKeyType - } /> )}