diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index a7eb152aa4..1e8b81a62a 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -281,11 +281,8 @@ export class RemixAppManager extends PluginManager { } } - plugins = plugins.filter((plugin) => { - return plugin.name !== 'dgit' - }) - return plugins.map(plugin => { + if (plugin.name === 'dgit' && Registry.getInstance().get('platform').api.isDesktop()) { plugin.url = 'https://dgit4-76cc9.web.app/' } if (plugin.name === testPluginName) plugin.url = testPluginUrl return new IframePlugin(plugin) })