mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-26 10:00:50 +08:00
Fix send later not dismissing composer window
This commit is contained in:
parent
163fd523d1
commit
f5663514b8
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in a new issue