mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
16 lines
463 B
CoffeeScript
16 lines
463 B
CoffeeScript
MovePicker = require "./move-picker"
|
|
LabelPicker = require "./label-picker"
|
|
|
|
{ComponentRegistry,
|
|
WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register MovePicker,
|
|
role: 'ThreadActionsToolbarButton'
|
|
ComponentRegistry.register LabelPicker,
|
|
role: 'ThreadActionsToolbarButton'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(MovePicker)
|
|
ComponentRegistry.unregister(LabelPicker)
|