mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 00:25:03 +08:00
12 lines
347 B
JavaScript
12 lines
347 B
JavaScript
const ToolbarCategoryPicker = require('./toolbar-category-picker');
|
|
const { ComponentRegistry } = require('mailspring-exports');
|
|
|
|
module.exports = {
|
|
activate() {
|
|
ComponentRegistry.register(ToolbarCategoryPicker, { role: 'ThreadActionsToolbarButton' });
|
|
},
|
|
|
|
deactivate() {
|
|
ComponentRegistry.unregister(ToolbarCategoryPicker);
|
|
},
|
|
};
|