Mailspring/app/internal_packages_disabled/thread-sharing/lib/main.es6

16 lines
436 B
Text
Raw Normal View History

import {ComponentRegistry} from 'nylas-exports';
import ThreadSharingButton from "./thread-sharing-button";
import ExternalThreads from "./external-threads"
export function activate() {
ComponentRegistry.register(ThreadSharingButton, {
role: 'ThreadActionsToolbarButton',
});
ExternalThreads.activate();
}
export function deactivate() {
ComponentRegistry.unregister(ThreadSharingButton);
ExternalThreads.deactivate();
}