From 92ecbf3dbfbf594d2afe0ad8eab10554b91c34c0 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 17 Apr 2024 18:45:41 +0530 Subject: [PATCH] icon for solcan --- apps/remix-ide/src/app/tabs/locales/en/udapp.json | 1 + libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/remix-ide/src/app/tabs/locales/en/udapp.json b/apps/remix-ide/src/app/tabs/locales/en/udapp.json index bd9ff8b6d7..e752fd1bc9 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/en/udapp.json @@ -111,6 +111,7 @@ "udapp.tooltipTextRemove": "Remove from the list", "udapp.tooltipTextEdit": "Create a DApp using this contract in the main panel", "udapp.tooltipTextPin": "Pin contract", + "udapp.tooltipTextSolScan": "Run Solidity scan for contract", "udapp.tooltipText8": "Click for docs about using 'receive'/'fallback'", "udapp.tooltipText9": "The Calldata to send to fallback function of the contract.", "udapp.tooltipText10": "Send data to contract.", diff --git a/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx b/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx index 6192777e31..935f9a35fc 100644 --- a/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx @@ -307,6 +307,9 @@ export function UniversalDappUI(props: UdappProps) { > )} + }> + + { props.isPinnedContract && props.instance.pinnedAt ? (