remove VM from list

pull/4761/head
yann300 7 months ago committed by Aniket
parent 728919fc0c
commit ab0116e130
  1. 8
      apps/remix-ide/src/remixAppManager.js

@ -96,6 +96,10 @@ const isInjectedProvider = (name) => {
return name.startsWith('injected')
}
const isVM = (name) => {
return name.startsWith('vm')
}
export function isNative(name) {
// nativePlugin allows to bypass the permission request
@ -125,7 +129,7 @@ export function isNative(name) {
'remixGuide',
'walletconnect'
]
return nativePlugins.includes(name) || requiredModules.includes(name) || isInjectedProvider(name)
return nativePlugins.includes(name) || requiredModules.includes(name) || isInjectedProvider(name) || isVM(name)
}
/**
@ -232,7 +236,7 @@ export class RemixAppManager extends PluginManager {
isRequired(name) {
// excluding internal use plugins
return requiredModules.includes(name) || isInjectedProvider(name)
return requiredModules.includes(name) || isInjectedProvider(name) || isVM(name)
}
async registeredPlugins() {

Loading…
Cancel
Save