Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion email_app/app/components/mail_inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class MailInbox extends Component {
<div className="mail-list">
<div className="mail-list-head">
<div className="stats">
Inbox Space Used: <span className="highlight">{this.props.inboxSize}KB of {CONSTANTS.TOTAL_INBOX_SIZE}KB </span>
Inbox Space Used: <span className="highlight">{this.props.inboxSize} of {CONSTANTS.TOTAL_INBOX_SIZE}</span>
</div>
<div className="options text-right">
<button className="mdl-button mdl-js-button mdl-button--icon" title="Fetch emails" onClick={this.fetchMails}>
Expand Down
3 changes: 2 additions & 1 deletion email_app/app/safenet_comm.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ const writeEmailContent = (app, email, pk) => {

return app.immutableData.create()
.then((email) => email.write(encryptedEmail)
.then(() => email.close())
.then(() => app.cipherOpt.newPlainText())
.then((cipherOpt) => email.close(cipherOpt))
);
}

Expand Down