Explorar o código

plugin: remove `.focus()`

Renée Kooi %!s(int64=7) %!d(string=hai) anos
pai
achega
92cf9ab8f9
Modificáronse 2 ficheiros con 0 adicións e 5 borrados
  1. 0 1
      src/plugins/Dashboard/index.js
  2. 0 4
      src/plugins/Plugin.js

+ 0 - 1
src/plugins/Dashboard/index.js

@@ -109,7 +109,6 @@ module.exports = class DashboardUI extends Plugin {
       name: callerPluginName,
       name: callerPluginName,
       icon: callerPluginIcon,
       icon: callerPluginIcon,
       type: callerPluginType,
       type: callerPluginType,
-      focus: plugin.focus,
       render: plugin.render,
       render: plugin.render,
       isHidden: true
       isHidden: true
     }
     }

+ 0 - 4
src/plugins/Plugin.js

@@ -102,10 +102,6 @@ module.exports = class Plugin {
     }
     }
   }
   }
 
 
-  focus () {
-    return
-  }
-
   install () {
   install () {
     return
     return
   }
   }