mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
23 lines
627 B
JavaScript
23 lines
627 B
JavaScript
|
/** @babel */
|
||
|
import {ComponentRegistry} from 'nylas-exports'
|
||
|
import SendLaterPopover from './send-later-popover'
|
||
|
import SendLaterStore from './send-later-store'
|
||
|
import SendLaterStatus from './send-later-status'
|
||
|
|
||
|
export function activate() {
|
||
|
SendLaterStore.activate()
|
||
|
ComponentRegistry.register(SendLaterPopover, {role: 'Composer:ActionButton'})
|
||
|
ComponentRegistry.register(SendLaterStatus, {role: 'DraftList:DraftStatus'})
|
||
|
}
|
||
|
|
||
|
export function deactivate() {
|
||
|
ComponentRegistry.unregister(SendLaterPopover)
|
||
|
ComponentRegistry.unregister(SendLaterStatus)
|
||
|
SendLaterStore.deactivate()
|
||
|
}
|
||
|
|
||
|
export function serialize() {
|
||
|
|
||
|
}
|
||
|
|