mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-16 02:03:42 +08:00
16 lines
436 B
Text
16 lines
436 B
Text
|
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();
|
||
|
}
|