diff --git a/internal_packages/plugins/lib/package.cjsx b/internal_packages/plugins/lib/package.cjsx index b9091ad53..496c5b00c 100644 --- a/internal_packages/plugins/lib/package.cjsx +++ b/internal_packages/plugins/lib/package.cjsx @@ -1,6 +1,6 @@ React = require 'react' _ = require 'underscore' -{Flexbox} = require 'nylas-component-kit' +{Flexbox, RetinaImg} = require 'nylas-component-kit' PluginsActions = require './plugins-actions' class Package extends React.Component @@ -15,6 +15,12 @@ class Package extends React.Component actions = [] extras = [] + if @props.package.icon + icon = + else + icon = + + if @props.package.installed if @props.package.category in ['user' ,'dev', 'example'] if @props.package.enabled @@ -42,9 +48,7 @@ class Package extends React.Component ) -
- -
+
{icon}
{title ? name}
{description}
diff --git a/static/images/preferences/plugin-icon-default@2x.png b/static/images/preferences/plugin-icon-default@2x.png new file mode 100644 index 000000000..71261c277 Binary files /dev/null and b/static/images/preferences/plugin-icon-default@2x.png differ