mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 15:15:12 +08:00
Signed-off-by: mhatvan <markus_hatvan@aon.at>
This commit is contained in:
parent
506124cf28
commit
14d47659f4
2 changed files with 10 additions and 2 deletions
|
@ -58,7 +58,7 @@ export default class MessageItem extends React.Component<MessageItemProps, Messa
|
|||
// keyed by a fileId. The value is the downloadData.
|
||||
downloads: AttachmentStore.getDownloadDataForFiles(fileIds),
|
||||
filePreviewPaths: AttachmentStore.previewPathsForFiles(fileIds),
|
||||
detailedHeaders: false,
|
||||
detailedHeaders: AppEnv.config.get('core.reading.messageHeader'),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,10 @@ export default class MessageItem extends React.Component<MessageItemProps, Messa
|
|||
}
|
||||
|
||||
_renderCollapsed() {
|
||||
const { message: { snippet, from, files, date, draft }, className } = this.props;
|
||||
const {
|
||||
message: { snippet, from, files, date, draft },
|
||||
className,
|
||||
} = this.props;
|
||||
|
||||
const attachmentIcon = Utils.showIconForAttachments(files) ? (
|
||||
<div className="collapsed-attachment" />
|
||||
|
|
|
@ -129,6 +129,11 @@ export default {
|
|||
default: false,
|
||||
title: localized('Display conversations in descending chronological order'),
|
||||
},
|
||||
messageHeader: {
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
title: localized('Show detailed message header by default'),
|
||||
},
|
||||
},
|
||||
},
|
||||
composing: {
|
||||
|
|
Loading…
Reference in a new issue