Skip to content

Commit

Permalink
Disabling connector for 4.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Jan 12, 2022
1 parent 1de6da0 commit 516ed44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/yoroi-ergo-connector/src/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ function injectIntoPage(code) {
}

function shouldInject() {
if (true) {
// <TODO:CONNECTOR_202201>
return false;
}
const documentElement = document.documentElement.nodeName
const docElemCheck = documentElement ? documentElement.toLowerCase() === 'html' : true;
const { docType } = window.document;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const DAPP_CONNECTOR: SidebarCategory = registerCategory({
// We only added it as all these labels of the sidebar are passed
// to intl.formatMessage(...) -> we have to pass valid label.
label: connectorMessages.dappConnector,
isVisible: _request => !environment.isLight,
isVisible: _request => false, // !environment.isLight, // <TODO:CONNECTOR_202201>
});

export const NOTICE_BOARD: SidebarCategory = registerCategory({
Expand Down

0 comments on commit 516ed44

Please sign in to comment.