mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +08:00
19 lines
422 B
Text
19 lines
422 B
Text
|
{WorkspaceStore, ComponentRegistry} = require 'nylas-exports'
|
||
|
|
||
|
FeedbackButton = require './feedback-button'
|
||
|
|
||
|
|
||
|
path = require.resolve("electron-safe-ipc/host")
|
||
|
ipc = require('remote').require(path)
|
||
|
|
||
|
|
||
|
module.exports =
|
||
|
activate: (@state) ->
|
||
|
ComponentRegistry.register FeedbackButton,
|
||
|
location: WorkspaceStore.Sheet.Global.Footer
|
||
|
|
||
|
serialize: ->
|
||
|
|
||
|
deactivate: ->
|
||
|
ComponentRegistry.unregister(FeedbackButton)
|