mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
e3fc29ee36
Summary: - FixedPopover now correctly adjusts itself when overflowing outside window, in all directions - Updates styles - Adds specs - Remove Popover and popover.less, and refactor all code that used it in favor of the new FixedPopover Test Plan: Unit tests Reviewers: drew, evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2697
24 lines
652 B
JavaScript
24 lines
652 B
JavaScript
/** @babel */
|
|
import {ComponentRegistry} from 'nylas-exports'
|
|
import SendLaterButton from './send-later-button'
|
|
import SendLaterStore from './send-later-store'
|
|
import SendLaterStatus from './send-later-status'
|
|
|
|
export function activate() {
|
|
this.store = new SendLaterStore()
|
|
|
|
this.store.activate()
|
|
ComponentRegistry.register(SendLaterButton, {role: 'Composer:ActionButton'})
|
|
ComponentRegistry.register(SendLaterStatus, {role: 'DraftList:DraftStatus'})
|
|
}
|
|
|
|
export function deactivate() {
|
|
ComponentRegistry.unregister(SendLaterButton)
|
|
ComponentRegistry.unregister(SendLaterStatus)
|
|
this.store.deactivate()
|
|
}
|
|
|
|
export function serialize() {
|
|
|
|
}
|
|
|