React = require 'react' {RetinaImg, Flexbox} = require 'nylas-component-kit' {LaunchServices, SystemStartService, AccountStore} = require 'nylas-exports' ConfigSchemaItem = require './config-schema-item' class DefaultMailClientItem extends React.Component constructor: (@props) -> @state = {} @_services = new LaunchServices() if @_services.available() @_services.isRegisteredForURLScheme 'mailto', (registered) => @setState(defaultClient: registered) render: => return false unless process.platform is 'darwin'