mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-15 12:39:28 +08:00
f526bb2736
Summary: Themes can now be uninstalled by clicking a button in the theme picker, instead of going to `~/.nylas/packages` to delete the directory. Test Plan: Tested locally. Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2700
12 lines
224 B
JavaScript
12 lines
224 B
JavaScript
/** @babel */
|
|
import Reflux from 'reflux';
|
|
|
|
ThemePickerActions = Reflux.createActions([
|
|
"uninstallTheme",
|
|
]);
|
|
|
|
for (key in ThemePickerActions) {
|
|
ThemePickerActions[key].sync = true;
|
|
}
|
|
|
|
export default ThemePickerActions;
|