mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-15 17:53:44 +08:00
15 lines
444 B
JavaScript
15 lines
444 B
JavaScript
import { ComponentRegistry } from 'mailspring-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();
|
|
}
|