Fix send later not dismissing composer window

This commit is contained in:
Ben Gotow 2017-09-27 13:18:06 -07:00
parent 163fd523d1
commit f5663514b8
2 changed files with 5 additions and 1 deletions

View file

@ -82,7 +82,6 @@ before_script:
script:
- npm run ci-setup-mac-keychain
- npm run lint
- npm test
- mailsync/build.sh
- mv ./mailsync ./mailsync-src
- DEBUG=electron-packager,electron-osx-sign npm run build

View file

@ -82,9 +82,14 @@ class SendLaterButton extends Component {
label: dateLabel,
});
}
this.props.session.changes.addPluginMetadata(PLUGIN_ID, {
expiration: sendLaterDate,
});
if (AppEnv.isComposerWindow()) {
AppEnv.close();
}
};
onCancelSendLater = () => {